Select To_Char( quoted price - quoted price * .10, '$99999.99' ) As
quoted_price
From order_line
Regards
Garnet
-----Original Message-----
From: Zelli Brian
[mailto:oracledba-ezmlmshield-x42200490.[Email address protected]
Sent: 31 January 2007 16:46
To: LazyDBA Discussion
Subject: Column format
I was showing one of our developers how to format a column for a report.
They had a query:
select quoted price - quoted price * .10 as discounted_price from
order_line
and I said to add the line
Column discounted_price format $99999.99
So they asked if there was a way to embed the format in the select
criteria. I've never done that so I ask all of you if anyone has
embedded the format in the select statement.
ciao,
Brian
This email message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee
or agent responsible for the delivery of this message to the intended
recipient(s), you are hereby notified that any disclosure, copying,
distribution, or use of this email message is prohibited. If you have
received this message in error, please notify the sender immediately by
e-mail and delete this email message from your computer. Thank you.
---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
Oracle LazyDBA home page