Source: Xml API(Json Format) Target: sql server
[{
"captain":{
"row":[
{
"@name": "carlo",
"@runs":50.0,
"@mom": null,(target -double)
"@mos": nan(target-double)
},
{
"@name": "David ",
"@runs":500.0,
"@mom":5,
"@mos":1
}
]
}
}
]
My target database, sql server will only accepts double values. Whenever string value get passed it should update as null in target. Otherwise it will produce error. What should I do here for solving my issue. I got one solution.
In the source dataset of xml api, there is a field called Null Value. There we can mention which string should i update as null in target. But the issue is if one string(null) comes in source ,it will updates an null in target .But at the same time another string comes(nan) ,I am not able to update AS NULL in target database. What should I do here?
Pls note: I cannot use dataflows since our organisation not using azure ir.







