Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
値に通貨記号を追加すると、次のようになります。 $5000、通貨記号を値の後に配置したい:5000$、フォーマット可能?
$5000
5000$
このようなもの?
select to_char(5000, '9999l'), to_char(5000, 'l9999') from dual
これがsqlfiddleのデモです
あなたができる長さを指定したくない場合(私はこの解決策が好きではありません...):
select substr(trim(to_char('1', 'l9')), 1, 1) || 5000 from dual
これが別のsqlfiddleデモです