Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

select all similar columns

602401Jun 3 2009 — edited Jun 3 2009
Hi All,

I would like to retrieve data from all similar columns in a table:

ex: desc table;

emp name
emp name1
emp name2
emp name3
---
--
emp name30
emp number
emp ph

so now i want retrieve all emp name* columns data with out selecting each one is there any short cut?

i have tried with rtrim but i am unable to get it. Could any body help me in this regard.

Thanks,
Red.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2009
Added on Jun 3 2009
16 comments
1,257 views