I want to display the dollar or pound sign in my fields that hold job_salary any one knows? how to
相关问题
- Can I skip certificate verification oracle utl_htt
- how to calculate sum time with data type char in o
- keeping one connection to DB or opening closing pe
- System.Data.OracleClient not working with 64 bit O
- How can I get rid of dynamic SQL
相关文章
- node连接远程oracle报错
- oracle 11g expdp导出作业调用失败,提示丢包。
- 执行一复杂的SQL语句效率高,还是执行多少简单的语句效率高
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- Difference between FOR UPDATE OF and FOR UPDATE
- Oracle USING clause best practice
- Is working with money (decimal numbers) in PHP con
- Is there a method in PL/SQL to convert/encode text
My preference is:
Build the format string out to as many digits as you need. The FM skips the leading space to account for negative number alignment.
select to_char((123456789.91, 'FM999,999,999,990.00C') from dual;
This will get the ISO value trimming the leading space
Using
$
in the format mask hardcodes a dollar sign (after all, Oracle is an American corporation). Other currencies are determined by the setting for NLS_TERRITORY. UseC
to see the ISO currency abbreviation (UKP) andL
for the symbol (£).