/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/

 EXEC p_AlterColumn 'T_PRIVACY_DATA_TAG_TPL_L', 'FNAME', 'NVARCHAR(255)', 'NOT NULL', '0100', ''' ''';

 EXEC p_AlterColumn 'T_PRIVACY_CONFIG_TPL_L', 'FSCHEME_NAME', 'NVARCHAR(255)', 'NOT NULL', '0100', ''' ''';
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_PRIVACY_CONFIG_TPL_L' AND KSQL_INDNAME = 'IDX_PRIVACY_CONFIG_TPL_L_FID') CREATE UNIQUE INDEX IDX_PRIVACY_CONFIG_TPL_L_FID ON T_PRIVACY_CONFIG_TPL_L ( FID ,FLOCALEID );
  
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_PRIVACY_DATA_TAG_TPL_L' AND KSQL_INDNAME = 'IDX_PRIVACY_TAG_TPL_L_FID') CREATE UNIQUE INDEX IDX_PRIVACY_TAG_TPL_L_FID ON T_PRIVACY_DATA_TAG_TPL_L ( FID ,FLOCALEID );
 
/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/
