Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: SQL Server 2000: Corrupt Stored Procedure (or syscomments table)  (Read 3363 times)

0 Members and 1 Guest are viewing this topic.

vukasinganjic

    Topic Starter


    Newbie

    • Experience: Familiar
    • OS: Windows 8
    Under SQL Server 2000, I'm having a problem using (or viewing) a stored procedure.  When trying to view the SP using the Enterprise Manager I'm getting this error message:

    Error 0:[SQL-DMO]Object 'dbo.SP_ProcName' was not scripted. It is possible that the information in system table 'syscomments' about the object was corrupt or missing?

    I can delete the SP using this interface without issue (by right-clicking on it and selecting 'Delete').  I can, using the Query Analyzer, recreate it using a CREATE PROCEDURE script.   When I try to use or view this script after recreating it, however, I get the same error message.

    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: SQL Server 2000: Corrupt Stored Procedure (or syscomments table)
    « Reply #1 on: June 24, 2015, 11:54:51 AM »
    Have you tried google yet for info on this error?

    Lots of hits, and this one might have a solution?

    https://communities.vmware.com/message/2514397

    aidenburke



      Newbie

      Thanked: 1
      • Experience: Familiar
      • OS: Windows 98/ME