Mailing List Archive



Back to the month index Back to the list index

bonsai@net5.co.jp
Tue, 10 Sep 1996 10:35:44 +0900 (JST)


Date: Tue, 10 Sep 1996 10:35:44 +0900 (JST)
From: bonsai@net5.co.jp
Message-Id: <199609100135.KAA15611@sun1.net5.co.jp>
Subject: Re: [mSQL] mSQL/Java Query Exception

To all those who suggested the following statement :

> result = msql.Query("insert into cdiusers values
> ('nameval','emailval','usernameval','passwdval',

Nice try. I tried this before, already knowing what the result would be.

The above statement will simply insert the strings 'nameval' 'emailval' etc into
the database.

nameval is a string variable containing something like "John Doe". Simply
quoting the variable name inserts 'nameval' not 'John Doe' into the database.
Which doesn't get us very far.

  Byron.
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!