IF NOT EXISTS ( SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PMBD_EP_HM_RES_PO' AND KSQL_COL_NAME = 'FNAME' )
 ALTER TABLE T_PMBD_EP_HM_RES_PO ADD ( FNAME NVARCHAR(50) DEFAULT ' ' NOT NULL );