Oracle PL\SQL Null Input Parameter WHERE condition

前端 未结 2 1237
渐次进展
渐次进展 2021-02-10 07:24

As of now I am using IF ELSE to handle this condition

IF INPUT_PARAM IS NOT NULL

    SELECT ... FROM SOMETABLE WHERE COLUMN = INPUT_PARAM
ELSE
    SELECT ... FR         


        
2条回答
提交回复
热议问题