Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select and Update
Message
 
À
30/11/2010 18:10:12
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01491203
Message ID:
01491233
Vues:
37
>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform