Data Warehousing Community Forum
February 08, 2012, 10:52:47 am
Home
Help
Search
Login
Register
Data Warehousing Community Forum
>
Databases
>
Oracle
>
Pseudo columns in Oracle?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Pseudo columns in Oracle? (Read 1231 times)
Sipra
Founder
Reputation: +59/-0
Offline
Posts: 323
Am the King...
Pseudo columns in Oracle?
«
on:
June 20, 2007, 05:32:16 pm »
Hi friends,
Recently I attended an interview in which they have asked about pseudo columns.
They questioned me as follows:
What are pseudo columns in Oracle?
Can anybody give the perfect reply....? Please...
Logged
Sipra
Founder
www.dwforum.net
Whoever
Administrator
Reputation: +34/-0
Offline
Posts: 124
Re: Pseudo columns in Oracle?
«
Reply #1 on:
June 25, 2007, 12:16:11 pm »
The Pseudo Colums are -
ROWID
ROWNUM
CURRVAL
NEXTVAL
LEVEL etc..,
One can select from Pseudo columns, but you can't insert, update or delete their values.
Logged
If most people said what’s on their minds, they’d be speechless.
Raj2007
DW Apprentice
Reputation: +3/-0
Offline
Posts: 25
Lightning for DW Forum
Re: Pseudo columns in Oracle?
«
Reply #2 on:
July 02, 2007, 08:56:19 pm »
Update -
A Pseudocolumn behaves like a table column, but is not actually stored in the table.
As
Whoever
said,
You can select from the Pseudocolumns but you can't insert or update or delete their values.
«
Last Edit: July 03, 2007, 10:31:23 am by Sipra
»
Logged
Whoever
Administrator
Reputation: +34/-0
Offline
Posts: 124
Re: Pseudo columns in Oracle?
«
Reply #3 on:
July 03, 2007, 10:48:29 am »
Here is a partial list of pseudo-columns in Oracle and their Description.
USER -
This pseudo-column will always contain the Oracle username under which you are connected to the database.
SYSDATE -
This pseudo-column will contain the current date and time. This column is a standard Oracle DATE datatype. The value represents the current time on the server not the client.
UID -
UID is the Identification code of a User (number associated with a user).
ROWID -
Rowid is always returns unique number correspoding to the row.
SYSDATE -
This pseudo-column will return current date and time
ROWNUM -
This pseudo-column will return sequence number assigned to retrieved rows
«
Last Edit: July 03, 2007, 11:00:59 am by mOrpheuS
»
Logged
If most people said what’s on their minds, they’d be speechless.
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Introductions
=> Anouncements & News
=> Suggestions
=> General Discussion
=> Job Opportunities
-----------------------------
Data Warehousing
-----------------------------
=> Data Warehousing Concepts
=> Data Modeling
-----------------------------
Databases
-----------------------------
=> Oracle
===> PL/SQL
=> Microsoft SQL Server
=> IBM DB2
=> Teradata
-----------------------------
ETL Tools
-----------------------------
=> Informatica
===> Installation & Configuration
=> Data Stage
=> Ab Initio
=> Oracle Warehouse Builder
=> DTS/SSIS
-----------------------------
Reporting Tools
-----------------------------
=> Business Objects
=> Cognos
=> Crystal Reports
=> Hyperion
=> Brio
=> Microstrategy
-----------------------------
Operating Systems
-----------------------------
=> UNIX / Linux
===> Unix Shell Scripting
=> Windows
-----------------------------
Other Technologies & Tools
-----------------------------
=> JAVA