Unix Technical Forum

Advanced books wanted

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 ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 01:04 PM
General Fear
 
Posts: n/a
Default Advanced books wanted


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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 01:04 PM
fitzjarrell@cox.net
 
Posts: n/a
Default Re: Advanced books wanted

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 01:04 PM
Malcolm Dew-Jones
 
Posts: n/a
Default Re: Advanced books wanted

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com