Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch Process

Status
Not open for further replies.

YL5956

MIS
Jul 11, 2001
73
US
I was wondering if anyone know how I can use a batch script to exec procedures from a remote directory. I think OSQL would work but is there a more efficient way?

The process I have in mind is to use the script to look at a particular directory and 'exec' every object in that directory. Thanks.
 
Sounds possible. Please give us some more details on what you are trying to accomplish overall.

Thanks

J. Kusch
 
What I want to do is to stage all my scripts, tables, procedures, etc, in one folder. After the staging has completed, I would run the batch job and it'll load all the objects into SQL Server.

I need to know how load the objects into SQL Server using batch. Thanks.

yl5956
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top