45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




select statement

        

Reply
 
LinkBack Thread Tools Display Modes
Old 10-07-06, 04:39 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2006
Location: India
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4 priya2k6 has disabled reputation
hi,

i have doubt regarding the select statement. some select query after the resultset displays "the no. of rows selected", but some select statement doesnot return the rows selected caption.


wat is the difference between about two?


Priya

priya2k6 is offline Offline   Reply With Quote
Old 10-07-06, 05:26 PM   #2 (permalink)
Senior Member
 
rachana's Avatar
 
Join Date: Jun 2006
Location: India
Posts: 114
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 7 rachana has disabled reputation
Hi Priya,

That is very keep observation, even i need the clarification, can any one help us.......
__________________
A PEACEFUL MIND ALWAYS GENERATES POWER
rachana is offline Offline   Reply With Quote
Old 11-07-06, 01:27 AM   #3 (permalink)
Super Moderator
 
sk_kireeti's Avatar
 
Join Date: Feb 2006
Posts: 2,379
Blog Entries: 4
Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute sk_kireeti has a reputation beyond repute

Hi Priya / Rachana,

This behaviour can be controlled by the SQL*PLUS functions.

Try the followng -

SET FEEDBACK 1

Now, you will see that message even when 1 row is returned from you query.

But default, it will be set as below -

SET FEEDBACK 6

This means, if the number of rows returned were more than 6, then only it will tell you how many rows were selected.

Hope I answered your query.

NOTE - This functinality is specific to SQL*PLUS. If you use any other tools to access oracle DB, you will not find this command.

Thanks,
Krishna

Edited by: sk_kireeti
sk_kireeti is offline Offline   Reply With Quote
Reply

Tags
select , statement


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +6.5. The time now is 10:25 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0