Topic: SQL*Plus and PL/SQL >> pseudo columns!!!!
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: pseudo columns!!!! |
| Rush |
Posted: Apr 26, 2007 05:57:03 AM |
Total Post: 127
Joined: Jan, 2007
|
hi all,
i want to know about the utilization of level(pseudo column of oracle)
with example.if any body hase some idea then plz.....welcome!!
thanks and regards
RUPESH |
|
|
snehalatha |
| Posted: Apr 26, 2007 06:05:31 AM | |
|
Total Post: 169
Joined: Apr, 2006
|
A pseudo column is not an actual column in the table. They exist at the database level and are not visible in the table structure using 'DESC TABLE_NAME' command.
we can always access them using their names.
For Ex: select col1,col2,uid,sysdate from table1 .....
some of them are
USER, UID, SYSDATE, ROWNUM, ROWID, NULL,LEVEL, versions_xid, versions_operation, versions_startscn, versions_endscn, systimestamp,ora_rowscn, object_value
The most used pseudo column is rownum. it is sometimes used as a unique identifier, in case the table does not have a primary key.
|
|
|
|
|
Rush |
| Posted: Apr 26, 2007 11:20:51 PM | |
|
Total Post: 127
Joined: Jan, 2007
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 334 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|