SQL Update ?
From: Skybuck Flying (nospam_at_hotmail.com)
Date: 03/29/04
- Previous message: Nicholas Sherlock: "Re: Build Icon/Button"
- Next in thread: Skybuck Flying: "Re: SQL Update ?"
- Reply: Skybuck Flying: "Re: SQL Update ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 09:08:32 +0200
What is wrong with this sql update ?
// does not work ?
ADOQuery1.SQL.Text := 'UPDATE TablePlayer ' +
'SET PlayerLoggedIn = :PlayerLoggedIn, ' +
'PlayerTimeStamp = :PlayerTimeStamp, ' +
'PlayerPublicIPAddress = :PlayerPublicIPAddress, ' +
'PlayerPublicUDPPort = :PlayerPublicUDPPort ' +
'WHERE PlayerName = :PlayerName AND PlayerPassword =
:PlayerPassword';
// does work ?!
(*
ADOQuery1.SQL.Text := 'UPDATE TablePlayer ' +
'SET PlayerLoggedIn = :PlayerLoggedIn, ' +
'PlayerTimeStamp = :PlayerTimeStamp, ' +
'PlayerPublicIPAddress = :PlayerPublicIPAddress, ' +
'PlayerPublicUDPPort = :PlayerPublicUDPPort ' +
'WHERE PlayerName = "' + EditPlayerName2.Text + '" AND
PlayerPassword = "' + EditPlayerPassword2.Text + '"';
*)
- Previous message: Nicholas Sherlock: "Re: Build Icon/Button"
- Next in thread: Skybuck Flying: "Re: SQL Update ?"
- Reply: Skybuck Flying: "Re: SQL Update ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]