|
|
Re: Output a column [message #10655 is a reply to message #10654] |
Sun, 08 February 2004 05:19 |
|
Barbara Boehmer
Messages: 9090 Registered: November 2002 Location: California, USA
|
Senior Member |
|
|
It just occurred to me that you might have meant something different. If you want to output the column value with double quotes around it, you can do so by concatenating the quotes on either side. If that is what you want, then please see the examples below, with and without the double quotes.
scott@ORA92> SELECT dname
2 FROM dept
3 /
DNAME
--------------
ACCOUNTING
RESEARCH
SALES
OPERATIONS
scott@ORA92> SELECT '"' || dname || '"' AS dname
2 FROM dept
3 /
DNAME
----------------
"ACCOUNTING"
"RESEARCH"
"SALES"
"OPERATIONS"
|
|
|