TITLE: Microsoft Visual Studio ------------------------------ Cannot map the input column, 'CurrencyDate', to the lookup column, 'FullDateAlternateKey', because the data types do not match. ------------------------------ BUTTONS: OK -------------------

Joel Manhede 20 Reputation points
2024-08-14T12:50:28.01+00:00

i have changed the data types to DT_DBDATE as instructed but when trying to map the fields, it keeps saying I cannot map the currencyDate to the lookup column, FulldatealternateKey, because datatypes do not match

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,950 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,589 questions
{count} votes

Accepted answer
  1. Mohammed Ahmed Rahmani 80 Reputation points
    2024-10-27T12:00:45.3366667+00:00

    Go to connection manager as shown in step to

    https://learn.microsoft.com/en-us/sql/integration-services/lesson-1-2-adding-and-configuring-a-flat-file-connection-manager?view=sql-server-ver16

    and change the data type of the currencyID and CurrencyDate

    In the list, select the CurrencyID column and in the property pane, change the Data Type of column CurrencyID from string [DT_STR] to Unicode string [DT_WSTR].

    In the property pane, change the data type of column CurrencyDate from date [DT_DATE] to database date [DT_DBDATE].

    Hope this will solve the above problem

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. ZoeHui-MSFT 37,376 Reputation points
    2024-08-15T06:48:28.89+00:00

    Hi @Joel Manhede,

    What is the data type for 'CurrencyDate' and 'FulldatealternateKey'?

    Please make sure they are match.

    In addition, you may use data conversion to convert the data type in SSIS to make them match.

    If this does not work, you may share some images of your package and check the column data.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.
    0 comments No comments

Your answer

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