Azure Data Factory - Copy Data action gives an error like "Character, decimal, and binary parameters cannot have a precision of zero"

Murat Yallıkurt 11 Reputation points
2022-09-30T21:22:10.493+00:00

Hello,
I 'm trying to use "Copy Data" action to copy data from Azure SQLDB to Oracle. It 's about 10 mins. later it gives an error like below. When I check column 205 in source, there are some data that it's size zero. I found a workaround exception number 1048576 to add my Azure Data Factory but I also use another workaround 536870912.

How can I use multiple workaround in Azure Data Factory. I tried to add "workarounds=536870912"
and "workarounds2=1048576" like on the picture where I attached. But it does not work.

Could you please help me?

246508-adf.png

UserErrorOdbcOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=ERROR [HY104] [Microsoft][ODBC Oracle Wire Protocol driver]Character, decimal, and binary parameters cannot have a precision of zero. Error in parameter 205.,Source=Microsoft.DataTransfer.ClientLibrary.Odbc.OdbcConnector,''Type=Microsoft.DataTransfer.ClientLibrary.Odbc.Exceptions.OdbcException,Message=ERROR [HY104] [Microsoft][ODBC Oracle Wire Protocol driver]Character, decimal, and binary parameters cannot have a precision of zero. Error in parameter 205.,Source=msora28.dll,'

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

2 answers

Sort by: Most helpful
  1. Murat Yallıkurt 11 Reputation points
    2022-10-03T19:58:04.357+00:00

    Hello,
    I still have same problem. Is there anyone to help me to add multiple workaround on Azure Data Factory?

    0 comments No comments

  2. Yusuf Dursun 0 Reputation points
    2023-01-13T08:32:28.8133333+00:00

    interestingly, we also got this error when assigning string data type. We found the problematic column. The column value is not "null", just "blank ('')".

    We solved the problem by changing this column to nullif(column_name,'0') in the view table.


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.