Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building UPDATE dynamically
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01596792
Message ID:
01596880
Vues:
42
>Yes, this is SQL Server 2008. I will Google on how to create a table in C# that can be passed to a SQL Stored Procedure. But then again, even if the stored procedure receives the values via a table instead of XML, I would still have to create an UPDATE "dynamically." So I am not see much gain.
>Thank you.

Why do you need to create dynamic command? Just pass values for all columns (if they don't change, pass them without change) and update all columns based on that table values.
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