Can any one please let me know how to Find apostrophe ' in a parameter that the user is specifying to execute a procedure
I want to check within the Procedure if the User Specifies any character like ' " / within the IN Parameter then I will do some processing. The Position of the character is not evident and even not required.
Please let me know... Thanks in advance.
03-21-2001, 11:57 AM
if instr(input_parameter, '''') > 0 then
there is a single quote somewhere in input_parameter.
to look for a space, use
instr(input_parameter, ' ')
to look for a slash, use