Print 1,2,3.. to 10 in sql Post category:sql query Select level from dual connect by level<=10; output LEVEL12345678910 Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window You Might Also Like Consolidate two rows as single row October 5, 2020 Reverse a string in Oracle SQL without using REVERSE() function October 5, 2020 Turning a Comma Separated string into individual rows October 4, 2020 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.