Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-09-16 : 08:37:36
|
dipika writes "i have declared the variables etcwhen i run the code, "AAAAAAAAAAAAAAAA" is being printed but not the "BBBBBBBBBBBBB"THE ERROR BEING DISPLAYED IS "COLUMN NOT FOUND" PLEASE HELP the codde is give belowthank youdipika darshanars1=stmt1.executeQuery("select Count(cartoon_name) from cartoon_details");while (rs1.next()) { System.out.println("AAAAAAAAAAAAAA"); int n=rs1.getInt("Count"); System.out.println("bbbbbbbbbbbbbbbb"); }" |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-09-16 : 17:03:44
|
this should help:rs1=stmt1.executeQuery("select Count(cartoon_name) as Count1 from cartoon_details");...int n=rs1.getInt("Count1");Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|