Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> SQL problem...
Hello all,
I developed Forms4.5 application. It involves running SQL statements in SQL*Plus. The Forms permit the user to choose column value to be retrieved with different where cause. The Forms may generate over 80 statements as follows:
select A, B from T where A = 'Test1'; select A, B from T where A = 'Test2'; select A, B from T where A = 'Test3';that if I use bind variable in the where cause, the processing is faster. So I want to create the cursor. However, I find two problems in my situation.
...
select A, B from T where A = 'Test80'; The results of each statement is spooled to different files. I know
select A, B, C from T where A = 'Test1'; select A, B, C from T where A = 'Test2'; select A, B, C from T where A = 'Test3';
...
select A, B,C from T where A = 'Test80'; How can I solve these problems?
Thanks,
JImmy
Received on Sat Aug 22 1998 - 00:00:00 CDT
![]() |
![]() |