Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a stored procedure in the background
Message
 
 
À
10/02/2009 21:55:02
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01380765
Message ID:
01380773
Vues:
36
>>How exactly you're doing it? Did you try using SMO object http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.backup.aspx ?
>
>No, I am executing the store procedure from the IDbCommand.CommandText and IDbCommand.CommentType properties and then using that into the data adapter object with the ExecuteNonQuery() method.

BTW, can you wrapper class switch between clients? In other words, it makes more sense to run SQLClient for SQL Server than IDbCommand
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform