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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execute SQL by using *.SQL file, is this possible? 1

Status
Not open for further replies.

LikeThisName

Vendor
May 16, 2002
288
US
instead of for instance..

objConn.Execute "SQL STATEMENT"

could i...

objConn.Execute "*.SQL"


LikeThisName <- ? Sorry It's Taken =)
 
i should explain reasoning so someone can tell me a better way.

i need to create 30 tables for each database that is later annointed, so I figured it was possible to write an asp page and that would run the *.sql file I use.

LikeThisName <- ? Sorry It's Taken =)
 
Anyway you can use the FileSystemObject to read the sql files.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks PHV, i think that is what I am going to do.
Just thought their might be a better way perhaps with .NET calling a procedure, but this way will work for time being.

LikeThisName <- ? Sorry It's Taken =)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top