Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 ISQL

Author  Topic 

cbeganesh
Posting Yak Master

105 Posts

Posted - 2004-10-22 : 11:51:02
Im trying to call isql from a batch file and passing a parameter to the batch file. The parameter has spaces in the filename , so isql is beging aborted . ANy help?

examples
in test.bat i have like this
isql -Stestserver -Usa -Ptestpass -dtestdb "exec testproc %1"

Im running DOS like this
c:\>TEST "market reserach 8838.zip"

I want to know how we can pass parameters to isql with spaces
Thanks

surefooted
Posting Yak Master

188 Posts

Posted - 2004-10-22 : 12:10:21
use brackets[] Also, did you have the -q before "exec testproc %1"?

-Jon
Should still be a "Starting Member" .
Go to Top of Page
   

- Advertisement -