469,090 Members | 1,183 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,090 developers. It's quick & easy.

Function to convert

There is a funciton to convert numbers into string?>?

str:=string(3234);
??

__________________________________________________ _______________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: www.yupimsn.com/compras
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 11 '05 #1
4 2410
On Thu, Sep 11, 2003 at 22:53:35 +0000,
Edwin Quijada <li************@hotmail.com> wrote:
There is a funciton to convert numbers into string?>?

str:=string(3234);
??


to_char will convert numbers to strings in a number of different ways.
Depending on what you need, you might be able to just cast the number
to a string type.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 11 '05 #2
On Thu, Sep 11, 2003 at 22:53:35 +0000,
Edwin Quijada <li************@hotmail.com> wrote:
There is a funciton to convert numbers into string?>?

str:=string(3234);
??


to_char will convert numbers to strings in a number of different ways.
Depending on what you need, you might be able to just cast the number
to a string type.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 11 '05 #3
On Thu, 11 Sep 2003, Edwin Quijada wrote:
There is a funciton to convert numbers into string?>?

str:=string(3234);
??


select 1234::text ??
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 11 '05 #4
On Thu, 11 Sep 2003, Edwin Quijada wrote:
There is a funciton to convert numbers into string?>?

str:=string(3234);
??


select 1234::text ??
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 11 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bryan Parkoff | last post: by
2 posts views Thread by ritchie | last post: by
4 posts views Thread by Matt | last post: by
8 posts views Thread by coosa | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.