1

I have a string input format of i.e

 'Thu, 30 Nov, 2017'

I need to transform this into a more Oracle database friendly Date type format of something like '11-30-2017' or '11/30/2017'. I started in the path of

Convert(' ','-',Convert(',','',DSLink.InputDate[5])) 

which should return a string of: 30-Nov-2017

However I'm stuck on dynamically parsing the 'Nov' month part. Any clever ideas?

also I don't think this will work:

StringToDate(Convert(' ','-',Convert(',','',DSLink.InputDate[5])),"%dd-‌​%mm-%yyyy") 

as the function is looking for a numeric type on the month field?

Nk.Pl
  • 131
  • 2
  • 16

0 Answers0