SQL Language (MOSC)

MOSC Banner

How to select multiple rows oracle into one row with apostrof for datatype is varchar but the data i

edited Jan 13, 2012 6:12AM in SQL Language (MOSC) 3 commentsAnswered
Hello Oracle master
I have table nama with one column. the column type is varchar2. But the data is number. here the data

username
========
0008
0030
0050

how to select this data into one row with apostrof. So the expected result is like below

username
========
'0008','0030','0050'

Please help me oracle master..


thx u

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center