5 pts.
 How do you display the number of rows selected if there are only 4 or 5 rows there?
when i have 6 values for any column, in select statement i get display of 6 rows selected while if i have 5 values for one column i don't get display of 5 rows selected, how to get that display?

Software/Hardware used:
ASKED: November 18, 2008  4:09 AM
UPDATED: November 18, 2008  4:17 PM

Answer Wiki:
In order to get some useful answers, you will need to provide more information. The number of rows returned by a query depends on the data stored in the table(s), and the WHERE clause of your select statement. Please, paste the code of your select statement here (in discuss section), and explain what are the results you are getting and what are you trying to accomplish. If you can, add some example data also. The more specific your question, the better the chances to get an answer. If you are simply asking how to get the total rows selected printed via sqlplus, prior to the query, enter the command "set feedback 1". The default setting within sqlplus is typically 6. Just set feedback to the minimum number of rows you want Oracle to give you that feedback for. SQL*Plus has a wide array of formatting and i/o settings which you can control. While in SQL*Plus enter the command: show all this will show you all of the settings currently in place which you can modify to control output and formatting. I would suggest getting a SQL*Plus document for the version you are using to review all your options and to better understand their meanings and how to use them properly.
Last Wiki Answer Submitted:  November 18, 2008  4:17 pm  by  Jcmdba   555 pts.
All Answer Wiki Contributors:  Jcmdba   555 pts. , carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _