dbTalk Databases Forums  

pl/sql developer question

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss pl/sql developer question in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lee
 
Posts: n/a

Default pl/sql developer question - 12-04-2007 , 10:04 PM






I've been spoiled a bit by using Quest's Sql*Navigator.

I've been trying to wean myself away from that and onto ORacle's pl/sql
developer but there's one function I havent found (or its plain not there).

Every once in a while it would be nice to search over all stored
procedure (all stand alones, package definitions and package bodies,
maybe triggers too) searching for some string.

I *think* I got pl/sql dev to search over a given procedure body but
searching accross procedures has so far eluded me.

Is there a way to do it (Well, yeah I could search in the dictionary
table of user_source natively, but I mean a neat way through the gui) or
am I out of luck?

Any favorite free or cheap ( <= $100 ) tools to recommend ?

Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: pl/sql developer question - 12-04-2007 , 11:58 PM






Lee wrote:
Quote:
I've been spoiled a bit by using Quest's Sql*Navigator.

I've been trying to wean myself away from that and onto ORacle's pl/sql
developer but there's one function I havent found (or its plain not there).

Every once in a while it would be nice to search over all stored
procedure (all stand alones, package definitions and package bodies,
maybe triggers too) searching for some string.

I *think* I got pl/sql dev to search over a given procedure body but
searching accross procedures has so far eluded me.

Is there a way to do it (Well, yeah I could search in the dictionary
table of user_source natively, but I mean a neat way through the gui) or
am I out of luck?

Any favorite free or cheap ( <= $100 ) tools to recommend ?
SELECT DISTINCT owner, name, type, line
FROM all_source
WHERE text LIKE '%<your_search_string>%';

The tool I prefer is free: SQL*Plus.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
Lee
 
Posts: n/a

Default Re: pl/sql developer question - 12-05-2007 , 11:33 AM



DA Morgan wrote:
Quote:
Lee wrote:

I've been spoiled a bit by using Quest's Sql*Navigator.

I've been trying to wean myself away from that and onto ORacle's
pl/sql developer but there's one function I havent found (or its plain
not there).

Every once in a while it would be nice to search over all stored
procedure (all stand alones, package definitions and package bodies,
maybe triggers too) searching for some string.

I *think* I got pl/sql dev to search over a given procedure body but
searching accross procedures has so far eluded me.

Is there a way to do it (Well, yeah I could search in the dictionary
table of user_source natively, but I mean a neat way through the gui)
or am I out of luck?

Any favorite free or cheap ( <= $100 ) tools to recommend ?


SELECT DISTINCT owner, name, type, line
FROM all_source
WHERE text LIKE '%<your_search_string>%';

The tool I prefer is free: SQL*Plus.
Well yes, free (as in beer) is good, I rejoice in the use of free or
nearly free tools.

But it really does seem as if you have to actually be in edit mode for a
particular procedure, package, etc in order to get at the little Sql*Dev
text search box at the upper left of the edit screen; and that there's
no tricksy key combo or menu choices that lets us search globally over
all the code.

Its not the end of the world, since we can always search the source
views as you point out. but there's no denying thats a minor drawback.


Now I understand that there's merit in knowing how to do things oneself
without the aid of the electronic monkeys. I was a boy scout. I actually
can light a fire with nothing but vi.

On the other hand, there are times when we care a bit less about
building character, and just want to build the bloody procedures, and in
those cases, a power assist a la Toad or Sql*Nav or All Round automatins
pl/whatsis come in handy.

Oracle is on record as wanting Pl/Dev to be the "toad killer". Close,
but no cigar.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.