Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incorrect syntax near '='
Message
From
09/11/1999 01:42:54
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Incorrect syntax near '='
Miscellaneous
Thread ID:
00288898
Message ID:
00288898
Views:
65
I encountered this error message when trying to update
a record in the SQL Server 6.5

Error message: Incorrect syntax near '='

My SQL statement is:
Update tablename SET qty = qty + 20 FROM tablename
where Rtrim(LTrim(Order_no)) = '12345' AND
RTrim(LTrim(sku_no)) = '11111'

Anything wrong with this statement? Pls help, thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform