Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Concatenate All Fields In One ?
Message
From
08/09/2006 09:59:50
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
How To Concatenate All Fields In One ?
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01152260
Message ID:
01152260
Views:
75
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
Next
Reply
Map
View

Click here to load this message in the networking platform