Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error at end of script
Message
 
To
11/06/2008 11:14:48
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Miscellaneous
Thread ID:
01323114
Message ID:
01323126
Views:
13
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!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform