dbTalk Databases Forums  

Time Fields

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Time Fields in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Larry Law
 
Posts: n/a

Default Time Fields - 03-02-2010 , 03:13 PM






Hi All:

Why does the time field always default to Time(7) in MSSQL 2008? What is
the best format to use for external 3rd party tools?

Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Time Fields - 03-03-2010 , 08:47 AM






Can you provide more details of where you are looking and see this?
Datetimes are stored internally as 2 4 byte integers. How they are displayed
is up to the tool you use to view it. SQL Server does not store any
formatting at all for display purposes. If you are using SSMS for instance
it will go off the default or current settings for windows.

--

Andrew J. Kelly SQL MVP
Solid Quality Mentors

"Larry Law" <larry-law (AT) live (DOT) com> wrote

Quote:
Hi All:

Why does the time field always default to Time(7) in MSSQL 2008? What is
the best format to use for external 3rd party tools?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.