--委外完工入库单
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMCPBILLENTRY' AND KSQL_COL_NAME ='FPROCESSSEQ') 
 ALTER TABLE T_IM_MDC_OMCPBILLENTRY ADD (FPROCESSSEQ NVARCHAR(50) DEFAULT ' ' NOT NULL );