OracleBrains.Com header image 5

Entries Tagged as 'SQL and PL/SQL'

SQL Tuning Tip::Comparing pure DATE component of DATE field.

August 24th, 2007 · 3 Comments

Normally when we need to compare DATE type where only DATE (i.e DD/MM/YYYY) component holds the significant, we need to [...]

[Read more →]

Tags: SQL and PL/SQL

SQL Tuning Tip::Invisible Indexes

August 20th, 2007 · No Comments

Few days back I wrote about virtual indexes which help us in checking the impact of indexes on SQL query [...]

[Read more →]

Tags: Oracle 11g New Features · SQL and PL/SQL

PL/SQL Tuning::Using SELECT INTO OR FOR LOOP Part-2

August 14th, 2007 · No Comments

Let me share with you guys new test which I did:
I again created following two functions, this time without exception:
CREATE [...]

[Read more →]

Tags: SQL and PL/SQL

PL/SQL Tuning::Using SELECT INTO OR FOR LOOP

August 14th, 2007 · No Comments

Whenever One need to fetch column value from table I have seen following two variance of coding. One is straight [...]

[Read more →]

Tags: SQL and PL/SQL

SQL Tuning Tip::Virtual Index

August 12th, 2007 · No Comments

Recently I came across term called Virtual Index or some call it fake indexes. I will use term Virtual Index [...]

[Read more →]

Tags: SQL and PL/SQL · Virtual Objects in Oracle

PL/SQL: New Statement ‘CONTINUE’

July 23rd, 2007 · No Comments

With this new statement CONTINUE, one can skip to the next iteration in a loop.
Even though this is a small [...]

[Read more →]

Tags: SQL and PL/SQL

Knowing SAMPLE & SAMPLE BLOCK Clause

March 25th, 2007 · 2 Comments

While going through a thread in Oracle Forums, I came across ‘SAMPLE’ clause which is used in SELECT statement to [...]

[Read more →]

Tags: SQL and PL/SQL

Pitfall when working with DATE type

January 29th, 2007 · No Comments

Today I came across very simple but important concept which may look simple but can give a headache if we [...]

[Read more →]

Tags: SQL and PL/SQL

Can we use sequence in plsql

January 2nd, 2007 · No Comments

Today when checking “Search Keyphrases” for my site, I found out that someone wants to know about ‘can we use [...]

[Read more →]

Tags: Oracle 11g New Features · SQL and PL/SQL

Initializing column with its default value?

December 30th, 2006 · No Comments

Today I found out this very interesting fact about default value.
While inserting or updating we can use reserver word “DEFAULT” [...]

[Read more →]

Tags: Oracle Administration · Oracle Database · SQL and PL/SQL