Re: Datatype conversion help
От | Yasir Malik |
---|---|
Тема | Re: Datatype conversion help |
Дата | |
Msg-id | Pine.SGI.4.51.0307081625220.4193960@guinness.cs.stevens-tech.edu обсуждение исходный текст |
Ответ на | Datatype conversion help (Yasir Malik <ymalik@cs.stevens-tech.edu>) |
Ответы |
Re: Datatype conversion help
Re: Datatype conversion help |
Список | pgsql-sql |
Thank you so much! But my problem is that when I do to_char(mn, '00') || '-' || to_char(dy, '00') || '-' || to_char(yr, '9999') where mn, dy, and yr are ints, is that the output has a space after the the dash. For example, I get 07- 25- 1994 instead of what I want: 07-25-1994 Thanks, Yasir On Tue, 8 Jul 2003, Richard Rowell wrote: > Date: 08 Jul 2003 15:21:33 -0500 > From: Richard Rowell <richard@bowmansystems.com> > To: Yasir Malik <ymalik@cs.stevens-tech.edu> > Subject: Re: [SQL] Datatype conversion help > > On Tue, 2003-07-08 at 15:07, Yasir Malik wrote: > > I've tried to_char(in_val, '99'), and that returns a string that is two > > select to_char(9,'00'); >
В списке pgsql-sql по дате отправления: