Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Err:- Invalid value for date DS4.2

$
0
0

hi guys

 

I have xml source file from which i am extracting the data and storing in SQL Server 2012 table, for this before extracting the data i am saving the xml source file in UTF-8 format so that special characters in xml file should not give errors...

 

there is one data column in xml file which is working fine but when the date is in october month then i am getting below mentioned warning and data going as NULL is sql table column

 

ERROR

Invalid value <Month: 20> for date <2014-10-17>.Invalid value <Month: 20> for date <14/20/2000>

 

i have tried changing the date format

 

  • to_char(column_name, 'dd/mm/yyyy')
  • to_date (to_char(column_name, 'dd/mm/yyyy'),'dd/mm/yyyy')

 

In source xml file column is of date format and when in target table column was also data type then i was getting an error and job was getting failed so i tried to convert the same but it end up with warning and going NULL in the column...

 

I got one same issue from another user on another forum which is saying may be it is the language issue.. if it so could you please help me how to resolve same..

 

Data services 4.2

 

regards


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>