Microsoft SQL ServerExport data in txt file by using SQLCMD
- sqlcmd -S SHERAZM-E7450\SQL2008R2 -d Baseline_DB_Aug_2016 -o
c:\employee.txt -Q "select * from employee"
By using SQLCMD on Command Prompt
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0