Tino Wildenhain <tino(at)living-examples(dot)com> writes:
> Abdul Rehman wrote:
>> Can any body help me in converting numeric values into words via
>> postgres function: i.e. 313 to THREE HUNDRED THREE
> I would not recommend to do this within the database. Thats typical
> a job for your presentation layer.
... but having said that, I think the "money" datatype has a function
for this. Whether that's of any use to you I dunno; money is pretty
restrictive about what it can handle.
regards, tom lane