comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: idl - Mysql interface
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: idl - Mysql interface [message #51398] Tue, 21 November 2006 02:20 Go to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On Tue, 21 Nov 2006 11:12:26 +0100, Wox <nomail@hotmail.com> wrote:

> author='Brian A. Larsen'
> a=3
> v=3
> objDB->ExecuteSQL, $
> "UPDATE "+table+" SET a = "+string(a)+" WHERE v=
> "+string(v)
>
> objDB->ExecuteSQL, $
> "DELETE FROM "+table+" WHERE v1= "+string(v)
>
> objDB->ExecuteSQL, $
> "INSERT INTO "+table+"(author,v,datetime) VALUES
> ('"+author+"',"+string(v)+",CURRENT_TIMESTAMP)"

Probably better to use IDLdbRecordset in the first two cases :-).
Anyway, this is just an illustration.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "free" screen size
Next Topic: Re: Martin Shultz's MSG_GUI

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:53:42 PDT 2025

Total time taken to generate the page: 0.00341 seconds