| Start |
|---|
| By using SQLCMD on Command Prompt Command Structure is sqlcmd -S yourservername\instancename -d database_name -o outputfilename_withpath -Q "your select query" Switches are as follows -S for servername and instance name -d for source database -o for target outputfile (it will create output file) -Q for query to fetch data Syntax |
Read Article
https://develop.horje.com/learn/1434/reference