Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Use statment

Author  Topic 

Vack
Aged Yak Warrior

530 Posts

Posted - 2008-06-09 : 11:14:30
Posted - 06/09/2008 : 11:10:47
--------------------------------------------------------------------------------

trying to run the following script.

use 001
select *
from imitmidx_sql

Get incorrect syntax near 001

If I change the use 001 to Data_58 it works fine. Do I need special syntax when the database name is 001??

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-06-09 : 11:21:28
Duplicate of http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=104440

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -