Re: Date setting - newbie
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 02/20/04
- Next message: Tibor Karaszi: "Re: Logs/Restore Logs"
- Previous message: Tibor Karaszi: "Re: Stored procedure, which table is used ?"
- In reply to: K.K.: "Date setting - newbie"
- Next in thread: K.K.: "Re: Date setting - newbie"
- Reply: K.K.: "Re: Date setting - newbie"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Feb 2004 09:54:53 +0100
SQL Server doesn't store date with any formatting at all, the internal
representation is in a type of binary representation.
The rules for how a datetime string is interpreted is rather complicated.
Some formats are dependent on SQL Server settings such as SET DATEFORMAT,
LANGUAGE. While other are language neutral (like the unseparated format
'YYYYMMDD').
As for output, the date is not returned in any format when it leaves SQL
Server. It is the client applications which formats the date, possibly
depending on the regional settings.
-- Tibor Karaszi, SQL Server MVP Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver "K.K." <someone@microsoft.com> wrote in message news:uV2ELU19DHA.2184@TK2MSFTNGP09.phx.gbl... > Hi all, > > Can anyone tell me how can I change the default date fromat from mm/dd/yyyy > to dd/mm/yyyy? > > If I change the date format setting, will the server update all records to > the new format as well? > > Thanks, > > K.K. > >
- Next message: Tibor Karaszi: "Re: Logs/Restore Logs"
- Previous message: Tibor Karaszi: "Re: Stored procedure, which table is used ?"
- In reply to: K.K.: "Date setting - newbie"
- Next in thread: K.K.: "Re: Date setting - newbie"
- Reply: K.K.: "Re: Date setting - newbie"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading