I have a MS-SQL database and want to generate the script of this database with all the create table, create sequence and insert commands (as a "backup-Script").
I can do this in my MS SQL Server Management Studio manually, but is there a commandline command for this? For MySQL Databases I found this:
$ mysqldump -u [uname] -p[pass] db_name > db_backup.sql
in addition to my primary question: how do I rewrite the "login" part (u [uname] -p[pass]
), when I want to use my Windows-Authentification?