drop table Zsd06;
CREATE TABLE Zsd06 (
vbeln text,
posnr text,
mandt text,
datum text,
uname text,
include text,
crt_uname text,
crt_datum text,
crt_time text,
cha_name text,
cha_datum text,
cha_time text,
datum1 date,
crt_datum1 timestamp,
cha_datum1 timestamp,
PRIMARY KEY (vbeln, posnr, mandt)
)
Distributed by (vbeln, posnr, mandt);

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