SQL held please
Discussion
leosayer said:
The statement below returns results like $8,456
SELECT to_char(val_port,'$999,999')
but no result get returned if I replace $ with £:
SELECT to_char(val_port,'£999,999')
How do I do this?
SELECT to_char(val_port,'$999,999')
but no result get returned if I replace $ with £:
SELECT to_char(val_port,'£999,999')
How do I do this?
Is this Oracle SQL?
if so try this: SELECT '£' || to_char(val_port,'999,999')
otherwise
SELECT CONCAT('£',to_char(val_port,'999,999'))
Edited by plasticpig on Thursday 28th September 12:01
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


