Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a number of SQL script files in a database project. When I open some of them, the editor includes a toolbar, with options to connect to database, execute the script, etc.

However, when I open some of them, that toolbar is not shown, and there appears to be no way to execute the script.

How can I get that bar to appear?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

A fix that seems to work for me is to change the Build Action to be "None" in the properties for the sql file in question. Close and reopen the file, and voila there is the infamous connection toolbar.

share|improve this answer
    
Thanks, that works! –  Glen Little Oct 5 '12 at 17:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.