Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error at end of script
Message
 
À
11/06/2008 11:14:48
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Divers
Thread ID:
01323114
Message ID:
01323126
Vues:
14
Is patients the name of a database? If so, USE patients.

Otherwise, in SQL server you do not just SELECT a workarea. You can Select * from Patients.

>This is the last line of my script:
>
>
>Select Patients
>
>
>I get this error:
>
>
>Msg 102, Level 15, State 1, Line 258
>Incorrect syntax near 'Patients'.
>
>
>If I put something else at the end of the script, like this:
>
>
>Set NOCOUNT OFF
>
>
>Then the error is:
>
>
>Msg 102, Level 15, State 1, Line 258
>Incorrect syntax near 'OFF'.
>
>
>What's going on?
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform