Home Forums SQL Server 2005 Backups how to find fail log of stored procedure in x database in sql server RE: how to find fail log of stored procedure in x database in sql server

  • depends on what you mean by "stored procedure fail logs"

    do you mean when an error occurs in a stored procedure? doesn't exist unless you've created a server side trace capturing errors. there is no way to find info prior to the creation of that trace, if you were to create it now.

    if you mean which procedure do not compile all of the sudden, i can point you to a script that finds invalid objects, where a table or column might have gotton dropped or changed, and the proces/views/etc were not updated to match.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!