How to find total column from a resultset?

Answer Posted / ramu

while(rs.next())
{
getInt(1);
}

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set NULL values in JDBC PreparedStatement?

537


What are the three basic components of the odbc architecture?

468


What is a jdbctemplate?

521


What is the meaning of connection?

528


What causes the "No suitable driver" error?

534






any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.

1846


What is an advantage of using the jdbc connection pool?

450


What is statement and preparedstatement in java?

490


What is jdbc in java?

489


What are the jdbc drivers in java?

521


Write an sql to find all records having all numeric characters in a field ?

491


What does executeupdate return in jdbc?

510


How can we set null value in jdbc preparedstatement?

524


What are the classes and methods used for sending sql statements to database?

540


If I use the JDBC API, do I have to use ODBC underneath?

602