Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Novice question
Message
From
07/02/2003 12:36:23
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Miscellaneous
Thread ID:
00750606
Message ID:
00750681
Views:
19
This message has been marked as the solution to the initial question of the thread.
When you installed the SQL Client Tools (SEM, QA, etc), a utility named OSQL.EXE was also installed. This utility provides the functionality that you're looking for. Check the BOL. It's very well documented.

-Mike

>Hi everybody,
>
>I have .sql file, which contains some SQL server commands, such as DROP Table, Create Table, Insert, etc. I loaded it into Query Analyzer and run from there, but I want to understand, how to run it from the .bat file. Could you please give me a clue?
>
>Thanks in advance.
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform