Command line with sql

isqlw -S [server name] -d [database name] -U [user name] -P [password]

C:\>isqlw -S [server name] -d [database name] -U [user name] -P [password]
-i "c:\project\sql\emp.sql" -o "c:\project\sql\test.csv"

With this command line sql example you can run a sql command from dos prompt
and send output to a file.

Comments

Popular posts from this blog

SQL 2008

SQL Buddy

Microsoft a BI Force