 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MDS_SITESCHEMEDEF' AND KSQL_COL_NAME ='FDATAVERSIONID')
ALTER TABLE T_MDS_SITESCHEMEDEF ADD (FDATAVERSIONID BIGINT default 0 not null );