Еквивалент на Oracle в SQL Plus:
VAR ReviewID VARCHAR(3)
VAR ReviewYear VARCHAR(4)
EXEC :ReviewID := 'SAR';
EXEC :ReviewYear := '1011';
select * from table1 where review_id = :ReviewID and acad_period = :reviewyear;
Еквивалент на Oracle в SQL Plus:
VAR ReviewID VARCHAR(3)
VAR ReviewYear VARCHAR(4)
EXEC :ReviewID := 'SAR';
EXEC :ReviewYear := '1011';
select * from table1 where review_id = :ReviewID and acad_period = :reviewyear;