visual studio 2015 - How to run saved script in Sql Server Data Tools -


i learning ssdt.

i connect database, write sql, , save file part of project. works fine.

but want open , run script.

when open script, toolbar @ top missing use run script.

i don't understand how toolbar except selecting "new query" opens sql window toolbar, , copy , pasting sql new window.

it seems editor automatically bring toolbar.

i using vs15 latest ssdt.

the main thing understand idea of ssdt declare how want database (including setting data in pre/post deploy scripts) , make database same project doing publish.

a publish is:

  • build project generates dacpac
  • use sqlpackage.exe (or api) compare dacpac database , generate script run (ssms, sqlcmd, etc) or update database you.

this called disconnected development, talking connected development , can opening query window , running queries there outside of ssdt - may running them within ssms.

for more connected development see:

https://www.simple-talk.com/sql/sql-tools/connected-development-with-sql-server-data-tools/

(by me!)

ed


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -