Execute several SQL commands in TQuery

Bennon

Member
How can I execute several commands in a TOracleQuery.
My TOracleQuery.SQL is

create table pcomessai3 (toto varchar2(15));
alter table pcomessai3 add (toto1 varchar2(45));

and when I execute, a error occurs : 'ORA-0911' on the semicolon (it doesn't reconize the ; as a SQL terminator)
Why ?

Thank for your help
 
Back
Top