| From: | azah azah <izza76(at)gmail(dot)com> |
|---|---|
| To: | Rod Taylor <pg(at)rbt(dot)ca> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: date_format in postresql |
| Date: | 2004-07-21 03:53:14 |
| Message-ID: | 235b1a28040720205322cc291c@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-php pgsql-sql |
Thanks Chris and Rod.
I think I have a problem because not many function existing in
postresql that i installed.
How can i get all the build-in functions because the basic function
to_char is not existing in the database?
On Tue, 20 Jul 2004 22:39:38 -0400, Rod Taylor <pg(at)rbt(dot)ca> wrote:
> On Tue, 2004-07-20 at 20:55, azah azah wrote:
> > Hi,
> > I want convert from mysql to postresql,
> > in mysql, query to database using the code as below:
> >
> > date_format(submittime, "%W %M %e, %Y - %r")
>
> to_char(submittime, 'format string')
>
> http://www.postgresql.org/docs/7.4/static/functions-formatting.html
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Frank Bax | 2004-07-21 13:17:45 | Re: date_format in postresql |
| Previous Message | Rod Taylor | 2004-07-21 02:39:38 | Re: date_format in postresql |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | sad | 2004-07-21 05:01:13 | Re: locks and triggers. give me an advice please |
| Previous Message | Rod Taylor | 2004-07-21 02:39:38 | Re: date_format in postresql |