JamesKoopmann.com header image 4

Entries Tagged as 'Oracle'

Handling NULLs

June 5th, 2008 · 1 Comment

©M.J.S.
For some reason the ability to handle NULLS in SQL statements can confuse some. This article takes a look at how to think of NULLs. 

For some reason the value of NULL has confused many and even started feuds across the Internet for the [...]

[Read more →]

Tags: Oracle

Live or Memorex - NO It’s Sony Corp.

June 4th, 2008 · No Comments

©tracyhunter

We might not be breaking glass like the old Memorex commercials but Sony has opened that door for us to think about broken glass again. At about $10,000 Sony will be unveiling a high-end glass speaker system. Yes glass! The glass tube is [...]

[Read more →]

Tags: Oracle

Just SQL PartVIII - Oracle Grouping with the ROLLUP Operation

June 4th, 2008 · No Comments

©cogdogblog
Grouping and summing at multiple levels often takes an application to perform. Take a look at the ROLLUP operation within Oracle and perform these operations in a single SQL statement.

Grouping and in particular gathering aggregates across groups often brings confusion to many practitioners. [...]

[Read more →]

Tags: Oracle

Just SQL Part VII – Hierarchical Queries

June 3rd, 2008 · No Comments

©cogdogblog
Whether they are called hierarchical structures, trees, or self-referencing tables they often pose quite a challenge to traverse in any simple manner. But Oracle has a solution.

It is not a question as to whether or not hierarchical models are good or bad. We will all come across them no matter where we go. But querying [...]

[Read more →]

Tags: Oracle

Just SQL Part VI – Two Famous Pseudocolumns

June 2nd, 2008 · 1 Comment

©cogdogblog
A pseudocolumn is a column that looks like a column but really isn’t a column. What! Stick around and find out what a pseudocolumn really is.

The best way to describe what a pseudocolumn is would be to take two of Oracle’s most popular pseudocolumns and explain their use. These two pseudocolumns being ROWID and ROWNUM. [...]

[Read more →]

Tags: Oracle

Just SQL Part V – Counting with SQL

May 30th, 2008 · No Comments

©cogdogblog
How many do I have? Do I have at least one? What’s the greatest? What’s the least? Give me the top 5 rows. These are just some of the types of questions that are often asked when trying to evaluate table data.

Many of the problems I see in answering reporting questions, and everyday DBA work, [...]

[Read more →]

Tags: Oracle

Just SQL Part IV – Joining Tables

May 29th, 2008 · 1 Comment

©cogdogblog
As your database grows so will the need to get information from more than one table. This article shows you the different join options and some simple examples to raise your familiarity.

Wouldn’t it be nice if every piece of data were stored in one table? Well this is obviously never going to happen. The simple [...]

[Read more →]

Tags: Oracle

Data Systems could help the FDA

May 28th, 2008 · No Comments

©azrainman
Isn’t it always the case. Someone gets caught or put under the spotlight and THEN something gets done. It’s no different for the high ranking U.S. Health officials. After taking a lashing for not finding problems with drugs or medical devices quick enough they have sought the help of a data system called Sentinel.

Sentinel will, [...]

[Read more →]

Tags: Oracle · Wall Street Journal-Tech

Just SQL Part III – Where is it?

May 28th, 2008 · No Comments

©cogdogblog
We do not always want to SELECT everything from a table. The matter of finding the information required is a function of implementing the optional WHERE clause of the SELECT statement.

In the previous Part II of this series we took a look at the “simple SELECT’ statement. This involved the four required pieces of a [...]

[Read more →]

Tags: Oracle

Just - SQL Part II – The Simple SELECT

May 27th, 2008 · 1 Comment

©cogdogblog
Most often we query information from a database where that information is stored inside a table structure. Most explain a table as a series of rows and columns. Much like a spreadsheet where the spreadsheet is the TABLE, each line (horizontally down the page) in the spreadsheet is considered a ROW, and then sets of [...]

[Read more →]

Tags: Oracle