LARiot
Programmer
- Feb 7, 2007
- 232
Hi,
I'm trying to set the current database to Dev.
Using this:
SET DATABASE TO Dev;
Getting this:
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'DATABASE'.
The code I use is copied from the msdn page exactly as they have save for the database name of course.
Any help is appreciated.
-Nima
I'm trying to set the current database to Dev.
Using this:
SET DATABASE TO Dev;
Getting this:
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'DATABASE'.
The code I use is copied from the msdn page exactly as they have save for the database name of course.
Any help is appreciated.
-Nima