|
-
Nov 7th, 2001, 05:04 PM
#1
Thread Starter
Lively Member
SQL Statement
I want to update a field to reflect a new value in the record, I'm currently using a statement that looks like this:
"Update * From table_name"
However I'm missing something because I get an error that says syntax error.
Can you help me out with this?
Thanks
PinkPanther
-
Nov 7th, 2001, 08:41 PM
#2
basic format:
UPDATE
TargetTable
SET
Field1=Value1,
Field2=Value2,
Field3=Value3
[ WHERE <search condition> ]
There can be a lot more to an update statement, look in BOL for the complete UPDATE syntax
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|