/**Begin D:\文档\DBA\PDM_UPGRADE\pdm1\SYS_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SVC_PRINTTPL_L' AND KSQL_COL_NAME ='FPICTURE') 
 ALTER TABLE T_SVC_PRINTTPL_L ADD (FPICTURE VARCHAR(256) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SVC_PRINTTPL_L' AND KSQL_COL_NAME ='FPIC_WIDTH') 
 ALTER TABLE T_SVC_PRINTTPL_L ADD (FPIC_WIDTH BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SVC_PRINTTPL_L' AND KSQL_COL_NAME ='FPIC_HEIGHT') 
 ALTER TABLE T_SVC_PRINTTPL_L ADD (FPIC_HEIGHT BIGINT DEFAULT 0 NOT NULL );
/**End D:\文档\DBA\PDM_UPGRADE\pdm1\SYS_table.sql **/
