Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

  • RE: Create an audit trigger on a table

    mdv3441 (12/8/2010)


    I attempted to use this trigger but receive 2 errors and not sure why it is complaining (SQL Server 2005).

    Msg 2715, Level 16, State 3, Procedure TRG_Profile, Line 1

    Column,...

  • RE: Create an audit trigger on a table

    quetzco (11/22/2009)


    Very, Very useful.

    How can I avoid the problem of 'ntext', 'text', 'image' fields when executing:

    IF @ACT = 'INSERT' INSERT [DBO].[AUDIT_BTPRJ_COSTIIMP] SELECT *,'INSERT' ,GETDATE() FROM INSERTED

    IF @ACT = 'DELETE' INSERT...

  • RE: Unexpected consequence of update from multiple rows

    Thanks for everyone's comments.

    Just to illustrate that the SQL Server behaviour is not necessarily obvious ...

    With the test data I used above, the following SQL Server query results in 120...

  • RE: Unexpected consequence of update from multiple rows

    It is the developer's responsibility to ensure that the correct value is used to update, and I can sympathize with your desire for an error message to keep unexpected multiple...

  • RE: Unexpected consequence of update from multiple rows

    Lynn Pettis (10/28/2009)


    The problem is in your code. Please note the changes I have made in both versions.

    Hi Lynn, and thanks. Perhaps I wasn't clear about my purpose. I...

  • RE: Report Statements

    Try putting a detail group on the list and then a page break on the detail group. Group on the data that identifies a statement e.g. the client key or...

  • RE: Should we backup the Reporting Services databases?

    If you need to recover, it will be much easier if you have both databases AND also the encryption keys - you will loose all security information without the key backup.

  • RE: Forcing a Carriage Return/Line Feed within data

    What about using environment.newline() in the field expression?

    Something like:  iif(<condition for line 1>, <line 1> + environment.newline()) + <line 2>

  • RE: DTS works manually, but fails as a job

    Is your Windows version 64-bit?

    I had the same error message with a DTS package. It worked on 32-bit Windows and on 64-bit Windows when running manually, but when running as a job, or...

Viewing 9 posts - 1 through 9 (of 9 total)