Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a script from .NET
Message
De
10/03/2009 00:34:32
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Titre:
Executing a script from .NET
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01386831
Message ID:
01386831
Vues:
122
From my .NET application, I need to be able to execute a script against SQL Server. I have this script. It takes about 0.5 second to execute. I need to have it from the Web administration interface so I wouldn't have to get into SQL Server to execute it.

Is the best approach to create a stored procedure and use my regular data class from the framework to execute this? Or, is there a way to have this script sitting in a directory and simply executing it and collect the result into a TXT file?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform