01-10-2008, 04:55 PM
|
#4 (permalink)
|
|
The Acquainted
Join Date: Nov 2007
Posts: 154
Thanks: 31
|
webtuto> An INSERT statement cannot use a WHERE clause. You either perform an INSERT and it inserts data (imagine that) or you perform an UPDATE where you can define columns to update WHERE some condition is met.
MySQL Manual : SQL Statement Syntax : INSERT syntax | UPDATE syntax
Also, please read the MySQL Tutorial.
SQLZoo is also a good reference.
__________________
I reject your reality, and substitute my own.
|
|
|
|