Tag Archive for 'SQL'

Oracle KEEP function Order By Keyword

Add a comment

I found something funny with the Oracle Keep / { First – Last } analytic function, on 11.0.0.6 & 11.0.0.7.
Same thing occurs also on Oracle 10g XE.
For those who don’t have a clue about this function, I wrote a small post on this subject.

Say Hello To Partitioned Outer Joins

Add a comment

Recently, I was helping someone to improve a procedure which fills a table with zero where there is no value for some days.
Instead of cursoring and inserting, I wrote a single query using a partitioned outer join to achieve this. Later in the conversation, I was asked to explain how this was working and I posted about. You [...]

You Should Like Analytics

1 Comment

This is an example of fine SQL analytics

Fake Cross Join : Is Oracle Really Four Times Better Than MS SQL Server ?

2 Comments

Trying to improve the cross join part by faking it.
Results shows Oracle gains twice while MS SQL Server loose twice.

NoCOUG’s First SQL Challenge !

5 Comments

My proposal about NoCOUG First SQL Challenge