drop table Zsdfhzl;
CREATE TABLE Zsdfhzl (
vbeln text,
posnr text,
mandt text,
vgbel text,
vgpos text,
uname text,
matnr text,
cdate text,
ctime text,
fh_date text,
werks text,
fmenge numeric(13,3),
cdate1 timestamp,
fh_date1 date,
PRIMARY KEY (mandt, vbeln, posnr)
)
Distributed by (mandt, vbeln, posnr);

alter table Zsdfhzl add column hashResult text;
alter table Zsdfhzl add column rowNum serial;

alter table Zsdfhzl add column cha_datum text;
