Simple Oracle query: literal does not match format string

前端 未结 4 1388
清酒与你
清酒与你 2020-12-21 13:18

I want to execute a simple function in Oracle. The signature is defined as follows:

CREATE OR REPLACE FUNCTION NewCaseListForValidation
(
                            


        
4条回答
  •  猫巷女王i
    2020-12-21 14:09

    Query NLS_PARAMETERS in Oracle- you will then be able to see what format your DB is accepting dates in.

    Typically however i use the to_date() function:

    to_date('01-01-2011','DD-MM-YYYY');
    

    In the UK to input my dates.

提交回复
热议问题