I am sending date (August 2022) from java as a string to oracle plsql and i want to change the format from August 2022 to 01-08-22 in plsql. how can i do it ?
below is a part of code:
PROCEDURE CHECK_DUMMY
(
IN_SL_NO IN SIGN.SL_NO%TYPE,
IN_MONTH IN SIGN.MONTH%TYPE
)
AS
V_MON DATE := TO_DATE(IN_MONTH , 'DD-MM-YYYY');