 EXEC P_ALTERPK 'PK_T_BD_CUSTOMER_B', 'T_BD_CUSTOMER_B', 'FID', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'INDEX_BD_CUSTOMER_INTERNAL_COM') CREATE INDEX INDEX_BD_CUSTOMER_INTERNAL_COM ON T_BD_CUSTOMER_B ( FINTERNALCOMPANYID );