Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update query not listening?
Message
From
13/08/2003 14:13:26
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Update query not listening?
Miscellaneous
Thread ID:
00819873
Message ID:
00819873
Views:
57
Can someone tell me why this simple command doesn't work?

update #d2
set order_seq=(select isnull(max(order_seq),0)+1 from #d2)

All I want it to do is number order_seq 1,2,3 etc. but they all get a 1 (They are all 0 to start with).

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform