SQL INSERT Command

tehon3299

Well-known member
Joined
Jan 6, 2003
Messages
155
Location
Liverpool, NY
OK - Can you use a WHERE clause in an INSERT statement in SQL? If so what am I doing wrong here:
Code:
SessionCmd = "INSERT INTO tmBalance (UserBalance) VALUES (" & TotalBalance & ") WHERE UserID = " & user & ""

TotalBalance is an Integer.

Thanks!
 
Back
Top