I have a column with string values like this 05.2015
.
I need to get a DATE value out in the format that the first 2 chars are the month and the day is always the 1st...
so in this example it would be 01/05/2015 ... or 2015-05-01 ..depending on the db.
I tried
select CONVERT(VARCHAR(7),"String_Date_column",0) from TABLE;
but I am getting this error:
"No authorized routine named "CONVERT" of type "FUNCTION" having compatible arguments was found.. SQLCODE=-440, SQLSTATE=42884, DRIVER=3.69.56 ".
I am running on dashDB.