what's wrong with my update statement ?

T

THY

can anyone tell me what's wrong with this statement ?

cn.execute("update table set data = 'test'")

the asp.net keep telling me syntax error in update statement ...
help me please ...
 
K

Kevin Spencer

If that's you actual SQL Statement, you've got at least one reserved word as
a database object name. Try:

"update
set [data] = 'test'"

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top