Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Value of field
Message
From
04/09/2001 13:51:27
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Value of field
Miscellaneous
Thread ID:
00552184
Message ID:
00552184
Views:
53
Hi,

Is there any way to do one of the following in a trigger?

1 - return the value of a field from inserted/deleted tables where the field name is stored in a variable? i.e.
select MythicalEvalFunction(@MyField) from inserted ....
2 - return the value of a field from inserted/deleted tables where all you have is the field ID (from the corresponding actual table) i .e.
select MythicalEvalFunction(field_id) from inserted ...
TIA,
Ken B. Matson
GCom2 Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform