Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value of field
Message
De
04/09/2001 13:51:27
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Value of field
Divers
Thread ID:
00552184
Message ID:
00552184
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform