
 EXEC P_ALTERPK 'PK_T_SEC_SYSNOTICE', 'T_SEC_SYSNOTICE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'UX_T_SEC_SYSNOTICE_ID') CREATE INDEX UX_T_SEC_SYSNOTICE_ID ON T_SEC_SYSNOTICE ( FUSERID );