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!

Using Concat and Distinct together

SeshuGiriMay 13 2011 — edited May 13 2011
hi

I am using the query below and I am getting 'missing expression' error. How do use Distinct and concat together?

SELECT 'SELECT ' || DISTINCT COLUMN || ' FROM DUAL UNION ALL '
FROM TABLE;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2011
Added on May 13 2011
3 comments
6,632 views