Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Concatenate All Fields In One ?
Message
De
08/09/2006 09:59:50
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
How To Concatenate All Fields In One ?
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01152260
Message ID:
01152260
Vues:
76
After an INSERT/UPDATE (in a trigger), I need to take all fields in INSERTED cursor and concatenate them in one variable to place the result into a text field name DETAIL in a table named JOURNAL. How to do that?

P.S.: The difficulty here is that I need all the columns but I don't know their names (it will ne a general stored proc - it can be called from any updated table). Then I must to use sysobjects and syscolums tables.
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform