Results 1 to 3 of 3

Thread: Current SQL Statement

  1. #1
    Mike Guest

    Current SQL Statement

    My backup fails in the night, because of a non logged operation being executed at the same instant. I am interested in finding out the statement that is causing the problem. What would be the best way to do that?


  2. #2
    Ray Miao Guest

    Current SQL Statement (reply)

    Try 'dbcc inputbuffer'.


    ------------
    Mike at 9/25/01 4:27:42 PM

    My backup fails in the night, because of a non logged operation being executed at the same instant. I am interested in finding out the statement that is causing the problem. What would be the best way to do that?


  3. #3
    Mike Guest

    Current SQL Statement (reply)


    Thanks Ray. I found that dbcc inputbuffer, gives only 255 char, is there a way we can view the entire statement.

    thanks

    ------------
    Ray Miao at 9/25/01 4:52:05 PM

    Try 'dbcc inputbuffer'.


    ------------
    Mike at 9/25/01 4:27:42 PM

    My backup fails in the night, because of a non logged operation being executed at the same instant. I am interested in finding out the statement that is causing the problem. What would be the best way to do that?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •