azuredatastudio icon indicating copy to clipboard operation
azuredatastudio copied to clipboard

Generate Script all objects of database

Open sneevand opened this issue 7 years ago • 2 comments

  • SQL Operations Studio Version:0.25.4

Steps to Reproduce:Feature Where can i find ability to generate script all objects of Database; Only schema , only data or schema+data, Include Primary Keys, Index etc.

--Ability to copy the server name from the existing connection.

sneevand avatar Jan 19 '18 19:01 sneevand

We don't currently have support for scripting all objects at this time. We have discussed this and will add the suggestion to the backlog for consideration in the future release.

Currently, we recommend giving mssql-scripter command-line tool a try for this scenario (please see https://blogs.technet.microsoft.com/dataplatforminsider/2017/05/17/try-new-sql-server-command-line-tools-to-generate-t-sql-scripts-and-monitor-dynamic-management-views/ for details). If mssql-scripter is installed you can execute using the integrated terminal to accomplish what you want inside SQL Ops Studio, albeit without a nice integrated UI.

kburtram avatar Jan 19 '18 20:01 kburtram

Here is a suggestion and test repo for a superset of this request. Please vote. https://github.com/Microsoft/sqlopsstudio/issues/389

joshbooker avatar Apr 18 '18 15:04 joshbooker