There are some limitations in this code:
- It does not handle 'Select *'. You'll just have to search for these for now -- maybe fixed in the future.
- It only ignores comments that begin in column 1, therefore, if your comment starting in column 30 said "Deleted Dept_No," your report would show that name. (A future fix.)
This code was long enough that I've stored it as 'NamesInCode.SQL'. You'll have to scroll down the page to see the file, and download button.
Hi Lynn,
ReplyDeleteI find your blog really interesting. I got some new ideas in Oracle SQL side. I am also working on something to parse SQL query. Thanks for the start.
Regards,
Sarath
I will try this query to see the exact results as I am not cleared with your explanation. I do have understood the limitations of this code but need to know if they are still there in the latest version also or tell me the version in which these limitations reflect.
ReplyDeletesap upgrade automation
Betty, I wrote this under 10g, and haven't tried it under 11. It worked for everything I tried it on. Let me know if you have problems. Lynn
ReplyDelete