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

What is the use of jdbc api?

740


What packages are used by jdbc?

737


How can we execute stored procedures?

775


How can we maintain the integrity of a database by using jdbc?

760


Does jdbctemplate close connection?

692


What is sqlwarning and discuss the procedure of retrieving warnings?

757


What are jdbc?

744


What are the higher level apis under development on top of jdbc currently?

723


What are the common jdbc exceptions?

737


What are collection pools?

750


Explain jdbc savepoint?

767


What are the different types of locking in JDBC?

785


Is jdbc a web technology?

700


What is jdbc thin client?

746


What is the reason why we need a jdbcrowset like the wrapper around resultset?

767