COUNT(*) problem [message #366716] |
Fri, 27 October 2000 03:27 |
Prabhat Jain
Messages: 1 Registered: October 2000
|
Junior Member |
|
|
I am using Oracle IAS from which I am trying to display
my JSP page in which I am using the JDBC driver via SQLJ code. The problem is whenever I try a simple code:
int TOTAL;
#sql dctx a = SELECT COUNT(*) INTO :TOTAL FROM MYTBL;
I get an error saying that I can't use binded variables to set different values.......
Does anyone knows hot to carry out this simple task.
Thanks.
|
|
|