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
 General SQL Server Forums
 New to SQL Server Programming
 Execute a batch file

Author  Topic 

vishu_av
Yak Posting Veteran

69 Posts

Posted - 2007-07-25 : 09:51:29
Hi All,
I would like to embed some stored procedures in a batch file and execute it from the command prompt on windows.
I have no idea of how to embed a stored proc in a .bat file.
Can you please redirect me to the solution to this?

Thanks in advance
vishu

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-07-25 : 10:34:10
You can use osql to call sp in batch file.
Go to Top of Page
   

- Advertisement -