How to Create a Like Statement in Plsql

How to Create a Like Statement in Plsql – This is a place for the community to provide tips and advice on How to Create a Like Statement in Plsql. This topic was created by Jaime Aguilar and the tips are provided by the community. The tips you add here can be your own or referred from another site. The best tips are then ranked at the top when up-voted by members of the community.

Tip 1 - Use a variable with "LIKE %" (e.g. "variable%") in PL/SQL?

Published:  | Submitted by Robert Iannarelli | permalink
Use a variable with "LIKE %" (e.g. "variable%") in PL/SQL?

The question is similar to using LIKE in SQL *PLUS, where a select statement contains a LIKE clause as follows: select * from sometable where somecolumn LIKE 'something%'; How could one use the ...

Tip 2 - PL/SQL Performance Tuning for LIKE '%...%' Wildcard Queries

Published:  | Submitted by Henrik Cederlu 00f 6f | permalink
PL/SQL Performance Tuning for LIKE '%...%' Wildcard Queries

We're using Oracle 11g database. As you may or may not know, if you use wildcard query with "%" in front of the string, the column index is not being used and a full table scan is happening. It l...

Tip 3 - Is there a combination of "LIKE" and "IN" in SQL?

Published:  | Submitted by ngoodnight | permalink
Is there a combination of "LIKE" and "IN" in SQL?

In SQL I (sadly) often have to use "LIKE" conditions due to databases that violate nearly every rule of normalization. I can't change that right now. But that's irrelevant to the question. Further...

About Author

More by Jaime Aguilar

No more topics...

About This Topic

Category: Fun | 9 years, 4 month(s) ago

8.7k+ Reads
3 Tips
3 Votes
0 Likes
0 Saved