visual studio extension to execute sql

若如初见. 提交于 2020-02-03 23:39:32

问题


I have several .sql files in my visual studio 2010 project.

I am looking for an extension or add on where I can right click on the sql file and execute its contents against a sql server database.

Anyone know if such an extension exists?


回答1:


Starting with SQL Server Denali (at least in the community preview version I installed to play with), SQL Management Studio is integrated into the Visual Studio 2010 IDE. So you get all the syntax highlighting, Object Explorer, etc., all from within VS2010.

That said, I didn't specifically try adding a SQL script to an existing project (and I uninstalled the shared features last week because there were... issues), but with such a tight integration, I assume doing more or less what you're asking for is the intention.



来源:https://stackoverflow.com/questions/6519831/visual-studio-extension-to-execute-sql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!