Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How to handle wildcard characters through parameters and execute SQL statement

$
0
0

Hi,

 

Replace all '*' with '%' and in select query pass condition with LIKE statement.

 

REPLACE ALL OCCURRENCES OF '*' IN p_fld_name WITH '%'.


select * from tab  WHERE city_name LIKE p_fld_name.


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>