SqlExec(lnH,"select * from uVuz where uVlakID=CAST(?pnID AS NUMBER(10))")>Hi,
>_SqlExec("create table uVuz (uVuzID number(10))") >_SqlExec("alter table uVuz add casznak date default sysdate not null") >_SqlExec("alter table uVuz add nidznak varchar2(30) default ' ' not null") >_SqlExec("alter table uVuz add uVlakID number(10) default 0 not null") >_SqlExec("alter table uVuz add CisloVozu varchar2(12) default ' ' not null") >_SqlExec("alter table uVuz add uTypVozuID number(2) default 0 not null") >_SqlExec("alter table uVuz add tara number(10) default 0 not null") >_SqlExec("alter table uVuz add lmax number(10) default 0 not null") >_SqlExec("alter table uVuz add brutto number(10) default 0 not null") >_SqlExec("alter table uVuz add kg number(10) default 0 not null") >_SqlExec("alter table uVuz add uKvalitaID number(2) default 0 not null") >_SqlExec("alter table uVuz add tNasypano date null") >_SqlExec("alter table uVuz add tVysypano date null") >_SqlExec("alter table uVuz add KdoVazil varchar2(30) default ' ' not null") >_SqlExec("alter table uVuz add JakVazil number(1) default 0 not null") >_SqlExec("alter table uVuz add uVahaID number(2) default 0 not null") >_SqlExec("alter table uVuz add uDulID number(1) default 0 not null") >_SqlExec("alter table uVuz add SpravkaCD number(1) default 0 not null") >_SqlExec("alter table uVuz add KorekceKg number(1) default 0 not null") >_SqlExec("alter table uVuz add sl20 varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add sl21 varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add sl22 varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add sl25 varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add sl26 varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add sl27 varchar2(4) default ' ' not null") >_SqlExec("alter table uVuz add sl28 varchar2(3) default ' ' not null") >_SqlExec("alter table uVuz add podej varchar2(4) default ' ' not null") >_SqlExec("alter table uVuz add poznamky varchar2(50) default ' ' not null") >_SqlExec("alter table uVuz add PoradiVozu number(3) default 0 not null") >_SqlExec("alter table uVuz add pVozuOddil number(2) default 0 not null") >_SqlExec("alter table uVuz add plneni number(7,3) default 0 not null") >_SqlExec("alter table uVuz add m3 number(8,1) default 0 not null") >_SqlExec("alter table uVuz add dPole varchar2(3) default ' ' not null") >_SqlExec("alter table uVuz add dSmer varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add dKolej varchar2(2) default ' ' not null") >_SqlExec("alter table uVuz add lmax2 number(6) default 0 not null") >_SqlExec("alter table uVuz add smenaC varchar2(1) default ' ' not null") >_SqlExec("alter table uVuz add vybran number(2) default 0 not null") >_SqlExec("alter table uVuz add WapSu number(1) default 0 not null") >_SqlExec("alter table uVuz add PrvniID number(10) default 0 not null") >_SqlExec("alter table uVuz add SlPo varchar2(2) default ' ' not null") >_SqlExec("alter table uVuz add SlBv varchar2(2) default ' ' not null") >_SqlExec("alter table uVuz add tVana1 date null") >_SqlExec("alter table uVuz add tVana2 date null") >_SqlExec("alter table uVuz add uVzorsID number(10) default 0 not null") > >_SqlExec("create sequence uVuzseq nocache start with "+alltrim(str(laPole(1)))) >_SqlExec("alter table uVuz add (constraint uVuzid_pk primary key(uVuzid))") >_sqlexec("CREATE INDEX uVuz_index_uVlakID ON uVuz (uVlakID)") >_sqlexec("CREATE INDEX uVuz_index_CisloVozu ON uVuz (CisloVozu)") >_sqlexec("CREATE INDEX uVuz_index_d ON uVuz (dsmer)") >_sqlexec("CREATE INDEX uVuz_index_tNasyp ON uVuz (tNasypano)") >_sqlexec("CREATE INDEX uVuz_index_uVzorsID ON uVuz (uVzorsID)") >_sqlexec("CREATE INDEX uVuz_index_tVysypano ON uVuz (tVysypano)") >Hi,