Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Invalid data in date time column

Author  Topic 

wemoyer
Starting Member

2 Posts

Posted - 2006-03-30 : 09:34:16
I have an issue with a datetime colum in sql server 2000 sp3.

Here is what I get when I display the column.

select YMDBIRTH from claims where servicekey = '0501240031290100'

YMDBIRTH
1900-01-07 2003:56:42.880

The time is invalid??

Any ideas how this can happen?

It is only in one colum of one row in the database

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-03-30 : 09:37:37
Strange
What is the datatype of YMDBIRTH?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

wemoyer
Starting Member

2 Posts

Posted - 2006-03-30 : 09:52:38
YMDBIRTH datetime 8
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-03-31 : 00:56:24
See what this returns

Select YMDBIRTH from calims where IsDate(YMDBIRTH)=0

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -