I am not using any UDF. My sample query is below
SELECT * FROM OINS WHERE INTERNALSN LIKE '%[%0]%'
I need to ensure that the user has enter the value. If the user did not enter any value, the query is executing and displaying all the fields from OINS (which i do not want)/.