How to generate database script codes under VS2012?

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?

Answers


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


Need Your Help

Custom Check in policy in TFS?

tfs tfs2010 tfs2008 tfs-sdk

We have some xml files in the our project and whenever we check-in these xml files into TFS, We have make sure before checking-in that we have added those xml files to proprietary application.

Package creation issues using SQL Developer

oracle stored-procedures plsql oracle-sqldeveloper ora-06550

So I've never worked with stored procedures and have not a whole lot of DB experience in general and I've been assigned a task that requires I create a package and I'm stuck.