Viewing 2 posts - 1 through 2 (of 2 total)
You could try the following, substituting in relevant dates in @d1 and @d2:declare @d1 datetime = '3-jan-2000' , @d2 datetime = '2-may-2000'
select isnull(cast(nullif(case when datepart(month, @d1)...
January 26, 2017 at 7:28 am
#1925055
Have you tried adding
with (codepage = 'ACP')
to your bulk insert command?
October 3, 2014 at 6:15 am
#1749946