What is ResultSetMetaData?

This question is related to Oracle Interview

Showing Answers 1 - 2 of 2 Answers

Swapna

  • Jun 19th, 2005
 

ResultSetMetaData provides information about the types and properties of the columns in a ResultSet object.

  Was this answer useful?  Yes

Habeeb Mohmed

  • Dec 15th, 2005
 

 

nStores the number, types and properties of ResultSet?s columns.
n
ResultSetMetaData rsm = rs.getMetaData();
int number = rsm.getColumnCount();
For (int i=0; i< number;i++)
System.out.println(rsm.getColumnName(i));
 
Meta Data: data about data
 
Data is nothing but tables data. Data about data means the columns, rows, dataTypes which are in the table data. Getting the information using the cursor from Oracle side with the use of ResultSetMetaData.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions