Top "Osql" questions

a command-line utility that allows users to execute Transact-SQL (TSQL) statements and scripts.

Directory lookup for the file failed with the operating system error 3 (The system cannot find the path specified.)

I am trying to re-create a database (MyDB) from one SQL server (Source) to another one (Target). Source is located …

sql sql-server database migration osql
Running queries using osql

When executing any one of the following commands: osql -E -S ComputerName\InstanceName osql -E -S ComputerName\InstanceName -i MyScript.…

sql sql-server database sql-server-2008 osql
Save results to txt file without any other formatting in sqlcmd

When i run this command: sqlcmd -S server -U sa -P xxxxxxx -i d:clients.sql -o D:\clients.txt …

tsql sqlcmd osql