FN_GET_SQL missing from my SQL 2000 SP4 installation

  • wooddsw

    SSC Enthusiast

    Points: 144

    I've just discovered that system function FN_GET_SQL is missing from my SQL200 production server. I have it on my SQL 2000 development servers. I have re-applied SP4 without any errors from the GUI but it didn't restore it. Going to the context menu on one of my development boxes, Generate SQL Scripts is greyed out.

    Has anyone encountered this and discovered a way to restore it?

  • rjpage

    Valued Member

    Points: 74

    Ever fix this one?

  • wooddsw

    SSC Enthusiast

    Points: 144

    No I haven't resolved it. Are you having the same problem?

  • Joie Andrew

    One Orange Chip

    Points: 27271

    What edition of SQL 2000 are the production instances that are missing this function? Is the account that you are looking with in the sysadmins server role?

    Joie Andrew
    "Since 1982"

  • wooddsw

    SSC Enthusiast

    Points: 144

    The server in question is Enterprise Edition.

    I've used both SA and my own windows credentials that is a sysadmin role.

  • Joie Andrew

    One Orange Chip

    Points: 27271

    That is strange. Never seen that before. Do you also get no records returned if you run the following query:

    USE master

    GO

    SELECT * FROM sysobjects WHERE name LIKE '%fn_get_sql%'

    Joie Andrew
    "Since 1982"

  • wooddsw

    SSC Enthusiast

    Points: 144

    That's correct. That query does not return any records.

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

You must be logged in to reply to this topic. Login to reply