I couldn't solve the problem so I took a different approach to obtain what I need:
I created a view that contains all the required fields plus the to_char function, this way when I query "SELECT * FROM view_table" the number is formatted the way I expect it to be.
bye,
Daniele
Search found 4 matches
- 29.11.2006, 10:00
- Forum: PostgreSQL
- Topic: Locale number formatting
- Replies: 4
- Views: 1938
- 28.11.2006, 15:29
- Forum: PostgreSQL
- Topic: Locale number formatting
- Replies: 4
- Views: 1938
- 28.11.2006, 14:07
- Forum: PostgreSQL
- Topic: Locale number formatting
- Replies: 4
- Views: 1938
- 28.11.2006, 14:03
- Forum: PostgreSQL
- Topic: Locale number formatting
- Replies: 4
- Views: 1938
Locale number formatting
Hi everyone, I'm having problems with the function to_char in a query on postgresql 8.1.5 and Delphi 7 Pro. There's this function in my query: "trim(to_char(impo, '9G999G999G990D99'))" this should return a number with locale (Italian) settings and works fine if I try this at designtime, bu...