RE: non-us datestyle
От | Cedar Cox |
---|---|
Тема | RE: non-us datestyle |
Дата | |
Msg-id | Pine.LNX.4.21.0107041746390.22491-100000@nanu.visionforisrael.com обсуждение исходный текст |
Ответ на | RE: non-us datestyle ("Oscar Serrano" <oserra@fondos.net>) |
Ответы |
RE: non-us datestyle
|
Список | pgsql-interfaces |
On Wed, 4 Jul 2001, Oscar Serrano wrote: > > > -----Mensaje original----- > > De: pgsql-interfaces-owner@postgresql.org > > [mailto:pgsql-interfaces-owner@postgresql.org]En nombre de Cedar Cox > > Enviado el: miercoles, 04 de julio de 2001 14:53 > > Para: pgsql-interfaces@postgresql.org > > Asunto: [INTERFACES] non-us datestyle > > > > Is there a way to set the default date style to non-US (European)? I > > didn't see any compile or run time options, just per connection options. > > (pg v1.7) > > > > -Cedar > > Well I'm not sure if you are asking for this but... > If you define the shell variable PGDATESTYLE to, for example, SQL, all date > are returned like this: > dd/mm/yyyy > There are serveral values you can assign to PGDATESTYLE. > You can execute, prior to a query this sentence: > SET DATESTYLE TO SQL I'll be using ODBC so there's no shell variable to set... This is why I want a global option. -Cedar
В списке pgsql-interfaces по дате отправления: