SSkirch Android wrote:
> I can't be the first person to have wanted to do this. Within an
> update trigger, I want to know the complete string of the SQL
> statement that triggered it. To be prinet out in an error message or
> logged in an audit file, for example. I found a way to do this in
> 2000, but not 7.0. It seems to me that this sould be farely easy:
> RAISERROR (TriggeringSQL) or something like that.
>
> Am I missing something?
How did you do this in SQL 2000?