i have to use parameter in a column and column is not nullable. but parameter will be by default null. how do i control the null value. because when i am not giving value, it is considering value as null and my script is getting failed. would appreciate your help example -
create procedure test1 (p_1 number default null) as begin select col1, col2 from table1 where col1=p_1 -- default NULL;
end; /
enter code here