문제

I have a script generated by ado.net entity model after changing the database. i need to execute this script inside visual studio 2012. This MSDN link was not of any help

도움이 되었습니까?

해결책 2

Used schema compare tool for VS 2012. This not only created a script for me but also updated the production database to exact copy of development database. Here is the link

다른 팁

The link you posted concerns database project scripts, not running ad-hoc queries.

To run an ad-hoq query, you can add a connection to the database in Server Explorer, then select "New Query" from the database's context menu.

You can also use SQL Server Object Explorer to add a connection to a specific server, view all databases and execute ad-hoc queries. This is a more powerful feature, almost as powerful as using SSMS itself.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top