February 17, 2011 at 2:11 pm
I want to extend the minimum datetime value(1973), some of the oracle date fields have date 01-01-0006, not that it makes any sense.
But if the management wants it, then they want it. So the SSIS pacakge is failing because it can't import datetime less than 1973 year. Please give me some ideas here. thanks.
February 17, 2011 at 2:15 pm
Please don't double-post.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
February 18, 2011 at 9:32 am
Its desperation. My bad.
February 18, 2011 at 10:09 am
If you want, then you need to keep the datatype as varchar not as datetime
declare @Var1 datetime
set @Var1='01/01/1752'
Select CONVERT(datetime,@Var1)
declare @Var2 varchar(20)
set @Var2='01/01/1752'
Select CONVERT(Varchar,@Var2)
Thanks
Parthi
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply