Re: Missing: hour/minute / second data (smalldatetime)
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Thu, 6 Oct 2005 16:04:37 -0400
The way it is displayed depends on the gui that is displaying it unless you
have formatted it into a string with CONVERT().
--
Andrew J. Kelly SQL MVP
"Justin Doh" <JustinDoh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D7448E86-7DF3-4D41-BC78-C9FF03B7CCF1@xxxxxxxxxxxxxxxx
> Thank you Thomas.
>
> I was able to find the difference with Query Analyzer, and it looked as
>
> 2005-10-03 00:00:00.
>
> I think that is good catch and my learning experience.
>
> Question: Why then this does not appear as
>
> " 10/3/2005 12:00:00 AM " instead?
>
>
>
> "Thomas Bradshaw via SQLMonster.com" wrote:
>
>> Justin,
>>
>> A couple questions:
>>
>> 1) What does the source time say? Any way of examining those fields to
>> see
>> why they behave as they do?
>>
>> 2) How are you viewing the column? I get your described behavior when
>> opening the table in Enterprise Manager. The date/time rows with the
>> time
>> missing are the ones that start at midnight.
>>
>> Try viewing the table in Query Analyzer to see if they are truly missing.
>> Let us know how you make out.
>>
>> Thomas Bradshaw
>> Data Integration Specialist
>> MyWebGrocer.com
>>
>>
>> --
>> Message posted via http://www.sqlmonster.com
>>
.
- Follow-Ups:
- Re: Missing: hour/minute / second data (smalldatetime)
- From: Beau Frusetta
- Re: Missing: hour/minute / second data (smalldatetime)
- References:
- Re: Missing: hour/minute / second data (smalldatetime)
- From: Thomas Bradshaw via SQLMonster.com
- Re: Missing: hour/minute / second data (smalldatetime)
- Prev by Date: Re: Missing: hour/minute / second data (smalldatetime)
- Next by Date: DTS'ing Comments in Excel
- Previous by thread: Re: Missing: hour/minute / second data (smalldatetime)
- Next by thread: Re: Missing: hour/minute / second data (smalldatetime)
- Index(es):
Relevant Pages
|