Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

MM-YY Format for PostGreSQL

$
0
0
Hey all,

I seem to be having a bit of trouble in formatting a certain type of date.

What I do is this:
Read in a CSV file into a staging table
From the staging table insert it into a production table where everything is formatted and converted properly.

The problem I am having is there is one column in every XLS->CSV that has May-00 in it, of which in the staging table is of type varchar and I can't quite figure out how to convert it to a date for the production table... The production tables dates are formatted as such: 'YYYY-MM-DD'

Any ideas?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



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