Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> (no subject)
You might get duplicate rows to the query if the text is repeated in the =
field. To eliminate dups use the distinct clause;
spool the output to a file for review later.
Select number_field from table_name where long_field like '%TEXT%';
be prepared to go to lunch if the table is large.
HTH
Ron Rogers (ROR)
>>> Kirsten.deWeerd_at_Oranjewoud.nl 08/22/00 09:38AM >>>
Question :
I've got a table with a number and a LONG-field. This Long contains text.
Someone asks me if and how he can select all numbers where the correspondin=
g
long-field text contains a certain word.
Using Oracle 7.2.3 and I haven't got a clue.
Help ?
Greets,
Kirsten
--=20
Author: Weerd Kirsten, E.C. de
INET: Kirsten.deWeerd_at_Oranjewoud.nl=20
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Aug 22 2000 - 11:08:38 CDT