In "Back UP" I only get a bak file, but I would like to create .sql file
To do a full database backup to File/Query you can use the 'Generate Scripts...' option on the Database. Open SQL Server Management studio, right click on the database and choose 'Tasks->Generate Scripts...' Then use the wizard to backup the database. You can script the whole database or parts of it.
Use SQL Server's Generate Scripts commend
CREATE
and INSERT
statements for all table data selected in bullet 2.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With