Re: [SQL] dayname() doubt - Mailing list pgsql-sql

From Karel Zak - Zakkr
Subject Re: [SQL] dayname() doubt
Date
Msg-id Pine.LNX.3.96.1000306110958.3042D-100000@ara.zf.jcu.cz
Whole thread Raw
In response to Re: [SQL] dayname() doubt  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Responses Re: [SQL] dayname() doubt
List pgsql-sql
On Mon, 6 Mar 2000, Peter Eisentraut wrote:

> On Mon, 6 Mar 2000, Annamalai G wrote:
> 
> > Does the SQL92 standard tell anything about the case of the return
> > value of the function dayname().  I mean should it return Upper or
> > Lower case values?  Or is it left to the implementor to decide?
> 
> There is no such function in SQL. Any human language output would be
> locale dependent anyway.
> 

in 7.0: 

to_char(now(), 'DAY')    for MONDAY
to_char(now(), 'Day')    for Monday
to_char(now(), 'day')    for monday
... but all is in English, and as said Peter it isn't SQL92 like(but Oracle compatible)

(Any support for a locale output is plan for far far far future....) 
                Karel



pgsql-sql by date:

Previous
From: zoltan.sebestyen@netvisor.hu
Date:
Subject:
Next
From: zoltan.sebestyen@netvisor.hu
Date:
Subject: index file's growing big