Archive | SQL RSS feed for this section

SQL embedded into PL/SQL

23. October 2007

0 Comments

A few days ago I spoke with another developer about SQL embedded into PL/SQL code and how function calls are handled in the WHERE clause of SQL statements. There is sometimes confusion who (PL/SQL engine or SQL engine) is executing it, I thought it’s a good idea to write a posting about it. Last year I [...]

Continue reading...

The mystery of Outer Joins

22. May 2007

1 Comment

From my long time experience with Oracle, I noticed that a lot of people have problems with Outer Joins. Especially if the Outer Join also contains an additional restriction on the outer join table.

Continue reading...

Creating a Gantt-chart in SQL

9. May 2007

0 Comments

A few days ago Lucas Jellema from AMIS posted a real nice SQL statement to generate a character based Gantt-chart. I think it’s a good demonstration of the possibilities and the power of SQL. Have a look!

Continue reading...

XML processing in the database

16. March 2007

6 Comments

A few days ago I came across an interesting posting on the AMIS blog about an XML(DB) presentation at the OOP 2007 conference. The presentation done by Ken Atkins is also available online and is really worth reading it. It gives a comprehensive overview (with lot of examples) of the built-in XML processing features of the [...]

Continue reading...

SQL based String Tokenizer – another approach using CONNECT BY

8. February 2007

4 Comments

Just read a nice SQL puzzle on the AMIS blog called Writing a pure SQL based String Tokenizer and because Lucas wrote Please share with me your thoughts on this – but I will share my attempt with you anyway That’s why I thought I have to train my brain a little bit with a nice SQL [...]

Continue reading...

Caution when using PL/SQL functions in a SQL statement

30. November 2006

8 Comments

Be cautious if you use PL/SQL functions/packages in your SQL statements, especially in the Where-Clause! Why? Because the function is probably called more often than you think it is! If you don’t want to read the hole article, scroll down and check the APEX impact.

Continue reading...