According to the documentation for 9.0.6 for Testing Programs
5.7 Viewing result sets
In a Test Script you are not limited to PL/SQL blocks. You can also execute single SQL statements, including select statements. Executing a select statement will display an additional Results tab page, which displays all selected rows.
==============================================================
The following Test Script generates Oracle Error:
ORA-06550 PLS-00103: Encountered the symbol "SELECT"
------------------------------------------------------------
-- Created on 1/17/2013 by SMALICKI
declare
-- Local variables here
i integer;
begin
-- Test statements here
:A := 'test';
Select t.IMEI_ID
into :A
From CONT_IMEI_HISTORY t
Where t.IMEI_ID = '000000999';
end;
Select t.IMEI_ID
From CONT_IMEI_HISTORY t
Where t.IMEI_ID = '000000999';
--------------------------------------------------------
Does anyone have an example of how to format a select statement for the Test Script envirionment so that the output will be genereated on a new Results tab?
=========================================================
Thx, Steve
5.7 Viewing result sets
In a Test Script you are not limited to PL/SQL blocks. You can also execute single SQL statements, including select statements. Executing a select statement will display an additional Results tab page, which displays all selected rows.
==============================================================
The following Test Script generates Oracle Error:
ORA-06550 PLS-00103: Encountered the symbol "SELECT"
------------------------------------------------------------
-- Created on 1/17/2013 by SMALICKI
declare
-- Local variables here
i integer;
begin
-- Test statements here
:A := 'test';
Select t.IMEI_ID
into :A
From CONT_IMEI_HISTORY t
Where t.IMEI_ID = '000000999';
end;
Select t.IMEI_ID
From CONT_IMEI_HISTORY t
Where t.IMEI_ID = '000000999';
--------------------------------------------------------
Does anyone have an example of how to format a select statement for the Test Script envirionment so that the output will be genereated on a new Results tab?
=========================================================
Thx, Steve