Skip to content
Advertisement

Unable to pass varchar datatype as input parameter in my SQL function

Unable to pass varchar2 datatype in my function. Below is my code:

It is showing null value instead of returning the Name.

Advertisement

Answer

You need to reference your parameter without quotes in your where clause, not as 'I'.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement