Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> is this a valid sql statement ?
String str1= "select d.state_name, count(*) from " +
" doctor_master d , foreign_worker_master f " +
" where f.doctor_code = d.doctor_code " +
" and (f.creation_date>TO_DATE('" + lbFromDateStart.getText()
+ "','DD/MM/YYYY') and " +
" f.creation_date<TO_DATE('"+lbFromDateStop.getText()
+"','DD/MM/YYYY') ) " +
" group by d.state_name ";
is this a valid sql statement ?
i got a program hanging when i try out the above statement.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Nov 03 1999 - 00:37:10 CST
![]() |
![]() |