Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too much validation from SQL Server
Message
De
26/02/2010 01:55:09
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Too much validation from SQL Server
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01451147
Message ID:
01451147
Vues:
142
I have a weird situation here. Here is the script:
ALTER TABLE [Advertis] ADD [AddUserTemporary] int
UPDATE [Advertis] SET [AddUserTemporary]=AddUser
SQL Server is too smart and doesn't want to execute this script because the second line contains a field which does not exist. Well, I know that because I want to create it in the first line. But, because it validates the entire script before starting, I cannot execute this.

Any idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform