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?