I have this:
select null, null, null, null, sum("Total")
from tbl_temp
How can I concatenate a '£' infront of sum("Total")?
I am using Oracle by the way
| SitePoint Sponsor |
I have this:
select null, null, null, null, sum("Total")
from tbl_temp
How can I concatenate a '£' infront of sum("Total")?
I am using Oracle by the way



It's been a long time I haven't done oracle, but as far as I remember:
should do the trick.Code:select null, null, null, null, '£ '+TO_CHAR(sum(Total), 999999) from tbl_temp
To be tested on an Oracle instance though. I haven't any near me.
Bookmarks