Syntax :

OSQL -U sa -P -S MakinaAdı

Örnek :
C:\>OSQL -U sa -P passx -S okans
1> BACKUP DATABASE LKSDB TO DISK = 'c:\backupfile.bak'
2> go
Processed 2568 pages for database 'LKSDB', file 'LKSDB_Data' on file 1.
Processed 2 pages for database 'LKSDB', file 'LKSDB_log' on file 1.
BACKUP DATABASE successfully processed 2570 pages in 1.695 seconds (12.416 MB/sec).
1> quit