hi all.
i'm writing a simple clr trigger.
the trigger reads values from the INSERTED table.
and i use try - catch statement.
in the catch () i want to inesrt a new row to my Logtbl Table.
how can i insert row to a table in another tables trigger?
can you please give me a simple example?
thanks.
How about: "insert into Logtbl values(your values)" as a SqlCommand.Niels
|||
should i use the same connection object for this sqlCommand?
|||Sure.
Niels
No comments:
Post a Comment