This is a discussion on Advanced books wanted within the Oracle Miscellaneous forums, part of the Oracle Database category; --> I am using 10g. I wanted to 3 types of books. If not books, then maybe a web page ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am using 10g. I wanted to 3 types of books. If not books, then maybe a web page that shows the list below. 1.) Advanced SQL. I wanted something that goes beyond the typical "this is what a where clause is ". At my firm, SQL statements can get very complex even for the easiest reports. So I am interested in learning how to push the limits of SQL. 2.) Debug. Is there a source of information that shows how to go about debugging SQL code? Because of my background, I am not as fluent in SQL. So I am okay with my stuff, but, spotting what is wrong with someone elses SQL is a bit difficult for me at the moment. 3.) How to optimize SQL code. I wanted a book or web page that shows how to make SQL and PL/SQL better. If some code is slow or has another problem I would like to be able to improve things. Thanking you in advance. |
| |||
| Comments embedded. On Jun 21, 12:36 pm, General Fear <richma...@earthlink.net> wrote: > I am using 10g. > > I wanted to 3 types of books. If not books, then maybe a web page that > shows the list below. > > 1.) Advanced SQL. I wanted something that goes beyond the typical > "this is what a where clause is ". At my firm, SQL statements can get > very complex even for the easiest reports. So I am interested in > learning how to push the limits of SQL. > Joe Celko,"SQL for Smarties". > 2.) Debug. Is there a source of information that shows how to go about > debugging SQL code? Because of my background, I am not as fluent in > SQL. So I am okay with my stuff, but, spotting what is wrong with > someone elses SQL is a bit difficult for me at the moment. > Cary Millsap, "Optimizing Oracle Performance". > 3.) How to optimize SQL code. I wanted a book or web page that shows > how to make SQL and PL/SQL better. If some code is slow or has another > problem I would like to be able to improve things. > See above. See also: Jonathan Lewis, "Cost-Based Oracle Fundamentals" Steven Feuerstein, "PL/SQL Programming", Fourth Edition Thomas Kyte, "Expert Oracle Database Architecture" > Thanking you in advance. David Fitzjarrell |
| ||||
| General Fear (richmarin@earthlink.net) wrote: : 2.) Debug. Is there a source of information that shows how to go about : debugging SQL code? When writing reports Use joins. Select (i.e. display) all columns used in the where clauses. Arange where clauses so that join conditions come first, followed by general filtering, followed by specific filtering (e.g. ID=desired_record) This allows you to easily cut/paste the report query into sqlplus (or whatever) and test it. - copy up to and include the join conditions and you see all the data including the join condition data, allowing you to confirm logic is correct. - copy thru the general filtering and you see all the data that could be used in the report, allowing you to find parameters that will produce output to test the report $0.10 |
| Thread Tools | |
| Display Modes | |
|
|