SQL Language (MOSC)

MOSC Banner

how to Convert Varchar2 ' MAR-16-17' to Date ('03-2017') in Oracle SQL

edited Oct 12, 2018 5:02AM in SQL Language (MOSC) 6 commentsAnswered

I would like to change varchar2 type ('MAR-16-17') to Date ('03-2017') .

APR-16-17   to  04-2016

MAY-16-17   to  05-2016

JUN-16-17   to  06-2016

JUL-16-17   to  07-2016

AUG-16-17   to  08-2016

SEP-16-17   to  09-2016

OCT-16-17   to  10-2016

NOV-16-17   to  11-2016

DEC-16-17   to  12-2016

JAN-16-17   to  01-2017

FEB-16-17   to  02-2017

MAR-16-17   to  03-2017

Please suggest me how to change .

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center