HTH|||To elaborate further, if you have Query Analyzer, you can do a File...Open...and open the .SQL file. This will open up the script in a readable format. Then you do Query...Execute to run it.
If you do not have Query Analyzer, you can use the command-line OSQL utility.
osql -S (local) -E -i c:\SQLScript.sql
Terri|||If I do so then there are no tables created but there are stored procedures made. Is this okay??
Roel|||Well, the stored procedure won't be able to run without the tables being there, so no, in that sense it is not OK. But both QA and OSQL will let you create the stored procedures without the tables.
How are you planning on creating the tables? Didn't they supply scripts for that, too?
Terri|||I don't know. I think you must create tables wich match witch the stored procedures. But I will go with my question to the .Text department of this forum. Thanx
No comments:
Post a Comment