Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select and Update
Message
 
 
To
30/11/2010 18:10:12
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01491203
Message ID:
01491233
Views:
35
>>FROM should be after SET. Don't you know UPDATE syntax?
>
>I never used a FROM clause in the UPDATE command before.

i'm too but its magic :)
	Update Customer;
		SET ;
		Debit = CrsCurrent.Debit, ;
		Credit = CrsCurrent.Credit ,;
		Balance = CrsCurrent.Balance ;
		From CrsCurrent ;
		where CrsCurrent.custID = Customer.custID
(lol)
Previous
Reply
Map
View

Click here to load this message in the networking platform