Monday, February 08, 2010

Passing parameter to sql script via isql

An example:
ECHO OFF
isql /S dbserver /U user /P password /d db /o output.txt /s , /w8000 /Q "EXIT(exec sp1 '%1','%2')"

No comments: