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!

Query to display number to vertically

srikanth bFeb 24 2021

How to display the number '1234' as row by row using level or union all operator in Oracle?
I have tried like below it is working as expected
select substr('12345',rownum,1) from all_objects where rownum <=length('12345')

This post has been answered by Frank Kulash on Feb 24 2021
Jump to Answer
Comments
Post Details
Added on Feb 24 2021
3 comments
1,713 views