-- 差异分摊用户配置基础资料

EXEC P_ALTERPK 'PK_IM_MDC_DIFFSHARE_SETDAT', 'T_IM_MDC_DIFFSHARE_SETDAT', 'FID', '1';
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_MDC_FCREATORID') CREATE INDEX IDX_IM_MDC_FCREATORID ON T_IM_MDC_DIFFSHARE_SETDAT ( FCREATORID );

-- 差异分摊用户配置基础资料多语言表
EXEC P_ALTERPK 'PK_IM_MDC_DIFFSHARE_SETDAT_L', 'T_IM_MDC_DIFFSHARE_SETDAT_L', 'FPKID', '1';
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_MDCL_FID') CREATE INDEX IDX_IM_MDCL_FID ON T_IM_MDC_DIFFSHARE_SETDAT_L ( FID,FLOCALEID );
