I uses TOracleDataSet,but I wanna to execute multi SQL statements,but error in "Ora-009111"
, I know the TOracleScript can execute it, but I wanna uese TOracelDataSet do it.
Win2k Pro + Delphi5 + DOA 3.4.6.1
/*
TOracleDataSet.ExecSQL
Declaration
procedure ExecSQL;
Description
You can use the ExecSQL procedure to execute other statements than the select statement, for example insert, update, or delete statements, Data Definition Language statements (create table, create procedure, grant role, etc.), Session Control statements (alter session, set role), System Control statements (alter system) and PL/SQL Blocks.
For select statements you should use the Open procedure (or set the Active property to True), so that the result set will be retrieved.
*/
Thanx
[This message has been edited by Nizvoo (edited 03 June 2002).]
, I know the TOracleScript can execute it, but I wanna uese TOracelDataSet do it.
Win2k Pro + Delphi5 + DOA 3.4.6.1
/*
TOracleDataSet.ExecSQL
Declaration
procedure ExecSQL;
Description
You can use the ExecSQL procedure to execute other statements than the select statement, for example insert, update, or delete statements, Data Definition Language statements (create table, create procedure, grant role, etc.), Session Control statements (alter session, set role), System Control statements (alter system) and PL/SQL Blocks.
For select statements you should use the Open procedure (or set the Active property to True), so that the result set will be retrieved.
*/
Thanx
[This message has been edited by Nizvoo (edited 03 June 2002).]