How to change the connection in Sql Server Data Tools Editor in Visual Studio -


my goal keep sql server stored procedures under source control. want stop using sql server management studio , use visual studio sql related development.

i've added new sql server database project solution. have imported database schema new project, , sql objects (tables, stored procedures) there in own files.

enter image description here

i know if run (with f5) .sql files changes applied (localdb). if fine, if want run on machine (like dedicated sql server shared entire team)? how can change connection string of current .sql file in sql server data tools editor?

i have latest version of sql server data tools extension visual studio 2012 (sql server data tools 11.1.31203.1). don't know if related current version, cannot find anymore transact-sql editor toolbar.

i have tried right-click on sql editor, choose connection -> disconnect. if reverse (connection -> connect...) editor directly connects automatically (probably localdb), without asking me dialog choose connection.

another strange thing i've observed, if try run simple sql query (like select * dbo.applicationuser receive following message (even if autocomplete works): enter image description here

thanks.

(note: have same issue visual studio 2013)

this should simple , straight-forward thing do, is, if using ssdt version 12.0.41025.0 (or newer, 1 suppose):

  1. do either:
    1. go sql menu @ top of visual studio window
    2. right-click inside of sql editor tab
  2. go connection ->
  3. select change connection

then display "connect server" modal dialog window.

if not see options "disconnect queries" , "change connection...", need upgrade ssdt via either:


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -