Date Format in bulk insert

  • Hi

    I have a csv with

    a,b,13/11/2009

    b,c,15/11/2009

    When I used the smalldatetime for the date column, I could not import the data in the table.

    Can anyone help how to import date field in BULK INSERT.

    jayasri

  • Hi,

    Need to know the error message you're getting. Could be you just need to set the dateformat:

    SET DATEFORMAT dmy;

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply