mikeg
3/20/2007 3:53:00 PM
Oooh...I have to do one more comment, because this was such a funny post.
I understand the difference between the words "query" and "statement".
Apparently, you enjoy pointing out trivial errors in the writings of other
people. So, I feel obliged to point out errors in your grammar.
Did you realize that the following portion of your reply is a run-on sentence?
"Ask about SOX, tell them what you want to do and watch their faces." I
must point out that it should be split into TWO sentences, separated at the
comma. Additionally, you will need to supply a direct object in the first
sentence, as "Ask about SOX" does not clearly specify to whom I should be
referring the question. A predicate pronoun such as "them" will do nicely.
Also, the statement beginning with, "You will need...", should be altered to
say simply "You need..." By your phrasing, it would appear that you are
clairvoyant and are aware of what I will need in the future. As we are
clearly talking about the present, your superfluous use of the word "will" is
wholly incorrect.
Get my point?
"--CELKO--" wrote:
> >> I am essentially recording changes made to a table for auditing purposes. <<
>
> I hope not! The audit data has to be separated from the database
> that you are auditing. You need to talk to the accounting department
> and the lawyers before you commit any more crimes. Ask about SOX,
> tell them what you want to do and watch their faces.
>
> >> However, I created it on a table of a third party app over which I have no access to the code. One of the things I want to record is from which application window the update statement was issued. <<
>
> You will need a third party or external audit tool that uses the log
> file (which I hope is on a separate physical drive or tape).
>
> >> Is there a way to reference the text of the update query [sic] within a trigger? <<
>
> No. But do you understand that an UPDATE statement is totally unlike
> a query?
>
>
>
>
>