Null values in dates - unable to read from ssis

Shambhu Rai 1,411 Reputation points
2022-03-30T19:40:42.047+00:00

Hi Expert,

I am importing dates from excel to SSIS to load data but some values are null in dates so ssis unable to read it as date and reading as nchar

188514-image.png

SSIS reading as number or nchar
188488-image.png

have another date dimension where there is no null data and reading properly

expected results as below.Please suggest . I heard about ime=1 but do not know how to import it

188498-image.png

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
SQL Server Integration Services
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Shambhu Rai 1,411 Reputation points
    2022-03-30T22:27:37.41+00:00

    the value in source is 188582-image.png

    and target datatype is integer


  2. ZoeHui-MSFT 41,536 Reputation points
    2022-03-31T01:38:57.76+00:00

    Hi @Shambhu Rai ,

    Right click on your flat file source and select the Show Advanced Editor.

    In the Input and Output Properties, expand Output Columns, find your column and change the FastParseproperty from False to True.

    If it still thrown error, try to redirect the error rows to output and then check the value to find the error cause.

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.