| Searching through entire table. [message #643826] |
Mon, 19 October 2015 10:48  |
 |
jimjohn
Messages: 12 Registered: July 2014
|
Junior Member |
|
|
Hi All,
I have a table with n columns in it. Is it possible to have a query to search entire table to find out a particular text apart from using PLSQL.
Ex: Table A is having columns like Name, Address, Comment etc.
Is it possible to have a query to search though all these columns and find the occurrence of word 'oracle' in it?
|
|
|
|
| Re: Searching through entire table. [message #643827 is a reply to message #643826] |
Mon, 19 October 2015 10:53   |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
jimjohn wrote on Mon, 19 October 2015 08:48Hi All,
I have a table with n columns in it. Is it possible to have a query to search entire table to find out a particular text apart from using PLSQL.
Ex: Table A is having columns like Name, Address, Comment etc.
Is it possible to have a query to search though all these columns and find the occurrence of word 'oracle' in it?
yes, it is possible, but it make sense to exclude columns which are datatype NUMBER, DATE, etc.
should the search be CaSe SenSiTiVe?
Please read and follow the forum guidelines, to enable us to help you:
OraFAQ Forum Guide
How to use {code} tags and make your code easier to read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Searching through entire table. [message #644030 is a reply to message #643826] |
Mon, 26 October 2015 06:50  |
 |
EdStevens
Messages: 1377 Registered: September 2013
|
Senior Member |
|
|
jimjohn wrote on Mon, 19 October 2015 10:48Hi All,
I have a table with n columns in it. Is it possible to have a query to search entire table to find out a particular text apart from using PLSQL.
Why the restriction against PL/SQL?
|
|
|
|