Salesforce to SQL Server Data type conversion

Vipin Sharma 121 Reputation points
2022-08-25T05:25:07.75+00:00

I am using ADF pipelines to bring Salesforce data into SQL Server, most of the fields in SQL server are coming as nvarchar due to data type on Salesforce.
Some cases I know data is always int or varchar, but due to data type at Salesforce these are by default coming as nvarchar. It is important to keep right data types in SQL server for performance reasons.
For now I do not want to change data type on Salesforce. is there any way I can instruct ADF pipeline to put data into specific type of column (int or varchar) irrespective of source data type?

Azure SQL Database
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vinodh247 34,661 Reputation points MVP Volunteer Moderator
    2022-08-25T05:36:44.94+00:00

    Hi VipinSharma,

    Thanks for reaching out to Microsoft Q&A.

    Yes you can change the datatype using ADF, please go through the following link where the similar question has been answered by pradeep.

    https://learn.microsoft.com/en-us/answers/questions/408226/how-to-transform-data-type-in-azure-data-factory.html

    Please Upvote and Accept as answer if the reply was helpful.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.