Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: need to compare long data against varchar2

Re: need to compare long data against varchar2

From: <Chaim.Katz_at_Completions.Bombardier.com>
Date: Fri, 21 Feb 2003 11:09:38 -0800
Message-ID: <F001.00554FDE.20030221110938@fatcity.com>

richard,

select name
from user_dependencies
where referenced_name = <table_name>
and type = view

chaim

"Ferenc Mantfeld" <mantfield_at_connexus.net.au>@fatcity.com on 02/21/2003 01:14:00 PM

Please respond to ORACLE-L_at_fatcity.com

Sent by: root_at_fatcity.com

To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc:

Mark

Not that I have an answer for you, but what about synonyms to tables / views being referenced ?

Ferenc Mantfeld
Dreaming costs you nothing. Not dreaming costs you everything. ----- Original Message -----
To: Multiple recipients of list ORACLE-L Sent: Saturday, February 22, 2003 2:19 AM

I need to devise a method of comparing the TEXT column of dba_views against varchar2.
End result I want to find the views that reference a particular table within its text.

example (which ~obviously~ will not work): select view_name
from dba_views
where text like '%<table_name>%

I understand that a query or PL/SQL procedure of this sort would be long running, but
getting the concept to work would be a start.

TIA
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Chaim.Katz_at_Completions.Bombardier.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Fri Feb 21 2003 - 13:09:38 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US