Hans-Jürgen Schönig writes: > Is there any possibility to cast numeric to text in Postgres 7.0.3? > > shop=# select cast(price as text) from products; > ERROR: Cannot cast type 'numeric' to 'text' Use the to_char() function. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
- [SQL] Casting numeric to text Hans-Jürgen Schönig
- Re: [SQL] Casting numeric to text Peter Eisentraut
- Re: [SQL] Casting numeric to text Cedar Cox
- Re: [SQL] Casting numeric to text Peter Eisentraut
- Re: [SQL] Casting numeric to text Ross J. Reedstrom
- Re: [SQL] Casting numeric to text Peter Eisentraut
- Re: [SQL] Casting numeric to text Ross J. Reedstrom