select droptable('TABLE_h'); create table TABLE_h as select *, 'create'::varchar as action , now() as save_dt , current_user as save_by from TABLE;