Previously I worked with My SQL where I dumped entire database as an SQL script that includes 'CREATE TABLE' and 'INSERT' statements.
1) Is it possible to do the same in MS SQL?
For example, If I select 'Tasks->Export Data' in MS SQL Management Studio and then select 'Flat file source' in the combobox I get a text fine in comma separated format, but not an SQL script.
2) How to dump not entire database, but only selected tables?
3) Or at least what is the right (or most common) way to export tables as a text file in MS SQL?