How to find total column from a resultset?

Answer Posted / shankar

int columnCnt = java.sql.ResultSetMetaData.getColumnCount();

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best database for java?

520


What is a datasource in java?

502


How many types of resultset are there in jdbc?

525


What is drivermanager in java?

489


Which interface is responsible for transaction management in jdbc?

459






What is jdbc databasemetadata interface?

547


How does jdbc driver work?

531


Which jdbc driver type s is are the jdbc odbc bridge?

474


What is 2 phase commit?

561


What are database warnings in jdbc and how can we handle database warnings in jdbc?

611


What does the connection object represents?

559


What is DML?

573


Explain the difference between resultset and rowset in jdbc

533


Is java a database?

496


What is encrypted connection?

498