-
Hi,
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.
-
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
instr(input_parameter, '/')
-John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|