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
 Old Forums
 CLOSED - SQL Server 2005/Yukon
 SMSS Open .sql file

Author  Topic 

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-04-20 : 08:38:13
when i open an existing file in SMSS it always prompts me which db i want to connect to...
if i habe to open a lot of files this becomes annoying.
in QA it "auto attached" the open file to existin connection.

any way to do that in SMSS?

Go with the flow & have fun! Else fight the flow
Blog thingie: [URL="http://weblogs.sqlteam.com/mladenp"]

elancaster
A very urgent SQL Yakette

1208 Posts

Posted - 2006-04-20 : 08:43:58
if you save the query as part of a project with a connection specified, when you open it up again it will use that connection automatically.
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-04-20 : 08:59:55
yeah.. if...

but i have to add it to the project... i really don't want to

Go with the flow & have fun! Else fight the flow
Blog thingie: [URL="http://weblogs.sqlteam.com/mladenp"]
Go to Top of Page
   

- Advertisement -