converting varchar datatype to datetime

  • I have a column1 in tableA which has date but it is a nvarchar datatype. In the destination table the column is a datetime datatype.am trying to convert nvarchar to (DT_DATE) datetype but since that column has ' ' in it , it is giving a type cast error.

    but when i try converting it in the management studio it works fine.

    Any help on this. Am i doing something wrong ??

  • Try to use Data Conversion component from Data Flow Transformation toolbar.

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

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