How to find total column from a resultset?

Answer Posted / manik chand

resultSet.getMetaData().getColumnCount().

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc servlet?

498


How can I determine where a given table is referenced via foreign keys?

551


Explain the difference between resultset and rowset in jdbc

531


What is jdbc and explain jdbc architecture?

516


What is a jdbc connection?

470






What is database deadlock ?

539


How a database driver can be loaded with jdbc 4.0 / java 6?

491


How does jdbc connect to database?

474


What are different types of ResultSet?

582


Explain jdbc savepoint?

565


How can you make the connection using jdbc?

561


What are the main steps in java to make JDBC connectivity?

571


What is executequery in java?

492


How are jdbc statements used?

500


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

540