Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Things i wish SQL supported. The lazy man's list.

611118May 1 2008 — edited May 6 2008
Things i wish SQL supported. This is the lazy man's list. Just to make things easier.

1) IT - refer to the first COLUMN in the SELECT clause.
- SELECT Name FROM Item WHERE IT is LIKE 'ABC%';

2) THEY - refer to each COLUMN in the SELECT list, individually.
- SELECT Name, Type FROM Item WHERE THEY ARE NOT NULL;

3) PK - refer to the PRIMARY KEY of the TABLE.
- SELECT * FROM Item WHERE PK = 12345;

Number 1 is what i'd like best.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2008
Added on May 1 2008
78 comments
7,971 views