Simple command line equivalent of the Generate Scripts function in SSMS. You can use sqlDataScripter to generate T-SQL scripts for database tables in SQL Server. You can save the generated T-SQL script to a .sql file or pipe it to standard utilities (for example, sed, awk, grep) for further transformations.
See the change log for changes and road map.
- Script table(s) schema
- Script table(s) data