Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running SQL Scripts
Message
De
08/12/2004 10:11:37
 
 
À
08/12/2004 03:41:20
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB.NET 1.1
Database:
MS SQL Server
Divers
Thread ID:
00967684
Message ID:
00967741
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform