Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running SQL Scripts
Message
From
08/12/2004 10:11:37
 
 
To
08/12/2004 03:41:20
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB.NET 1.1
Database:
MS SQL Server
Miscellaneous
Thread ID:
00967684
Message ID:
00967741
Views:
24
I haven't done it, Martin, but I don't see why not. You'd need to read the text out of the file, set up a SqlCommand string and .ExecuteNonQuery(). It *should* work, but as I said, I haven't tried it.

~~Bonnie


>Good afternoon!!!
>
>Does anyone know if it is possible to execute SQL Scripts (SQL commands stored in SQL text files) from VB.Net?
>
>Thanx! in advance 8)
>
>Martin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform