What's in 'Find Database Object' the difference between
Search for %pattern% AND
All Source Lines
In which area's does Search for %pattern% search for, if not in All Source Lines ...?
1 Answer 1
I'm going to answer your question based on version 18.2.
Searching source code in an Oracle Database via SQL Developer:
We automatically wildcard your search string - so you can search db object names, like tables named 'EMP' and also look for that string in your database code. We also make sure the case of the text isn't an issue.
Now, what do we consider 'source code?'
- All Source Lines: this is the ALL_SOURCE view, in other words, the PL/SQL code you have access to
- All Views - the SQL contained in the definition of your View and Materialized Views
- All Statements - new for 12cR2 databases, this is the SQL statements collected by PL/Scope via the pl/sql compiler for your pl/sql code
- ORDS - the code used to define your RESTful Services
I talk about the search feature here and provide a video demo.
-
You can also see exactly what we're doing and how, use the View > Log > Statements panel to see the SQL we use for searchesthatjeffsmith– thatjeffsmith2018年09月24日 21:56:33 +00:00Commented Sep 24, 2018 at 21:56