I'm doing a data pull from an Oracle db to a .csv that I then import into Access. One field is a date; it's formatted in the table as mmddyyyy but I want to pull it as mmyyyy. I have this in my query as
SELECT to_char(d.posted_dt,'MMYYYY')
which works, but the column name then appears as the whole expression " to_char(d.posted_dt,'MMYYYY') "
I'd like the column name to appear as "Post Date" or similar. How can I do this?
Thanks
SELECT to_char(d.posted_dt,'MMYYYY')
which works, but the column name then appears as the whole expression " to_char(d.posted_dt,'MMYYYY') "
I'd like the column name to appear as "Post Date" or similar. How can I do this?
Thanks