   IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PMTS_TASK' AND KSQL_COL_NAME ='FREQTIMETYPE')
 ALTER TABLE T_PMTS_TASK ADD ( FREQTIMETYPE NVARCHAR(10) DEFAULT ' ' NOT NULL );