Newbie question about REFCURSOR Bind Variables
From: andy sykes <andrew.sykes_at_holland.sun.com>
Date: 1998/09/18
Message-ID: <36029033.7217C405_at_holland.sun.com>#1/1
Date: 1998/09/18
Message-ID: <36029033.7217C405_at_holland.sun.com>#1/1
Can anyone help me ? ,
The doco show the below code to manipulate result sets in SQLPLUS which is fine interactively
SQL> VARIABLE dept_sel REFCURSOR
SQL> BEGIN
2 OPEN :dept_sel FOR SELECT * FROM DEPT;
3 END;
4 /
..but what about in a command file. When I try it I get the error
Bind variable "MYVAR" not declared.
I would appreciate some help. Received on Fri Sep 18 1998 - 00:00:00 CEST