I'm looking for a means of somehow exporting or visualizing the parse tree of an arbitrary PL/SQL object in Oracle in such a way as to allow comparison between the parse trees of two similar objects. Is this possible?
Is it possible to to visualize a PL/SQL parse tree?
1.8k Views Asked by ninesided At
1
There are 1 best solutions below
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in PLSQL
- PLSQL Need REFCURSOR DATE + TIME
- PL SQL After Delete Trigger Not Inserting Record
- Oracle stored procedure wrapping compile error with inline comments
- How to compare multiple columns under same row in a table?
- How to find out which procedures and functions are using a table?
- How to display image in oracle form
- Oracle 11g : staging table
- 04098. "trigger '%s.%s' is invalid and failed re-validation"
- PL/SQL Check if SYSDATE is between two DATETIMES "HH24:mi"
- UTL_file: continue reading even if it encounters blank rows
- add time (char(8)) to date column
- if x not in(select y from table) in oracle
- Generate random ROWID
- Get same day of the same week last year
- Call procedure using anonymous block in pl/sql?
Related Questions in VISUALIZATION
- Customizing Kibana 4
- Extending Bokeh to match D3.js
- R: how to move axes labels closer to the plot
- How can I choose a legible color to draw text on a bar in a d3js chart?
- How to create link between nodes from different svg elements using d3.js
- Different colors for positive/negative parts of column
- d3's force layout not aligning nodes and links properly
- Is it possible to build a heatmap from point data at 60 times per second?
- Arrow color does not change in iPython when I am annotating a point on the scatterplot
- What is the equivalent to rpart.plot in Python? I want to visualize the results of my random forest
- How to create a Grouped Radial Bar Chart in R
- How to approach the Data Visualization aspect of D3?
- How to make a map with a contour plot overlay from latitude and longitude coordinates
- Java Algorithm Animator/Visualisation
- How to seperate overlapping bars in ggplot2?
Related Questions in PARSE-TREE
- using antlr4 C# grammar in java
- How can I easily draw a parse tree from Stanford parsing data in python?
- Chomsky-normal-form grammar extraction from a parse tree
- Syntax directed definition (count number of pairs of parentheses)
- Parse tree parenthesis notation
- What does the tag SBAR mean in Stanford’s parse-tree representation?
- How to get IParseTree in ANTLR4?
- Why do I get UnsupportedOperationException with Stanford CoreNLP
- No head rule defined for AP when parsing a sentence using Stanford CoreNLP
- Tool for drawing parse trees?
- What's the difference between parse trees and abstract syntax trees (ASTs)?
- wrong expression type on ocamlyacc
- How to print a proper parse tree in console using Java?
- Decorating parse tree using attribute grammar
- Grammar Parse tree?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In theory this should be possible (and will need lots of time to implement!):
PL/SQL is parsed and stored in the DB as a tree-like structure PLUS m-code. The structure is some variant of DIANA plus IDL which in turn is something Ada uses to store the parse results too (PL/SQL is rather similar to Ada). For reference see http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10807/e_limits.htm and http://cs.felk.cvut.cz/10gr2/appdev.102/b14261/tuning.htm
Another option is to build your own parser - a starting point is http://it.toolbox.com/blogs/oracle-guide/building-a-plsql-code-parser-using-plsql-part-1-29704
A very helpful resource is http://www.blackhat.com/presentations/bh-usa-06/BH-US-06-Finnigan.pdf - you will find lots of information on how to extract DIANA-/IDL-information from an Oracle DB which should help you achieve your goal.