Hi I was able to find a solution. I should have mentioned that I can not alter the source file, so your solution does not apply for me unfortunately. I imported the data as is and simply did nested replace functions to change the parenthesis to negative.
ADF Copy Data Activity from CSV to SQL table incorrectly converts string values
Azure_Noob
30
Reputation points
I have a csv file that I am trying to upload to a table on SQL Server. I am uploading all the data into SQL as a string. Columns that contain money values such as -100 are being converted to (100) despite having data type mapping in ADF being string -> nvarchar. How do I correct this so that the upload from ADF keeps -100 as -100 in SQL table?
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
Microsoft 365 and Office | Excel | For business | Windows
Microsoft 365 and Office | Excel | For business | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data