In Sql Server 2008 when I right click on a database there is a menu in Tasks->Generate Scripts that would give the hole database script codes.Now is there a service like this in VS2012's server explorer that give me hole database scripts codes?

有帮助吗?

解决方案

As far as I know there is no native way of doing that from VS2012.

其他提示

I don't think it's possible Generate script from all db object like sql server managment, but in SQL Server Object Explorer you can generate script from each table by:

Select own db in sql serever object explorer ->right click and select script as -> Create To -> Clipboard

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top