Results 1 to 5 of 5

Thread: Dummy tables in oracle database

  1. #1
    Join Date
    Jan 2010
    Posts
    48

    Dummy tables in oracle database

    Hello ,

    I want to ask something regarding the dummy tables of oracle database,It always contains some rich information but not getting from where it is being processed and can a user control on this table and make some operation means updation and all. Please tell me the procedure how it processed in the database environment.

    Thanks .

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    The Dummy tables in oracle database

    The Dummy tables :

    The dummy table is database management system provided table which is created with the data dictionary during the installation of oracle database and provide some intellectual synchronize information.

    it has only one row and column and the name of column is "Dummy" and the value of record "X" always.

    Code:
    SQL> desc dual
     Name                    Null?    Type
     ----------------------- -------- ----------------
     DUMMY                            VARCHAR2(1)
    
    SQL> select * from dual;
    
    D
    -
    X

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    The pseudo column relation with Dummy tables

    The pseudo column :

    The Pseudo Column is Oracle assigned value used same as the normal columns of database tables.It is not stored on the disk.The SQL and PL/SQL catch it up below Pseudo columns like :

    SYSDATE, SYSTIMESTAMP, ROWID, ROWNUM, UID, USER, LEVEL, CURRVAL, NEXTVAL, ORA_ROWSCN, etc.

    These are not actually the columns but it behaves like columns but you cannot perform the insertion, updation or deletion from a pseudo column.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    The SYSDATE and SYSTIMESTAMP nd pseudo column

    The SYSDATE and SYSTIMESTAMP :

    The SYSDATE and SYSTIMESTAMP are most important pseudo columns to find the current date and time of the system and database using different formats :

    Code:
    SQL> SELECT sysdate, systimestamp FROM dual;
    SYSDATE   SYSTIMESTAMP
    --------- ----------------------------------------
    13-DEC-07 13-DEC-07 10.02.31.956842 AM +02:00

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    The UID and USER pseudo columns in database

    The UID and USER :

    The UID and USER columns is used to view the list of database user. which is executed by only DBA and privileged user of database. It takes the following form :

    Code:
    SQL> SELECT uid, user FROM dual;
           UID  USER
    ----------  ------------------------------
            20   MARRY

Similar Threads

  1. Why is a tables in a database alisased ?
    By Vaikuntam in forum Software Development
    Replies: 4
    Last Post: 07-01-2011, 06:18 AM
  2. External Tables in database
    By Cayden in forum Software Development
    Replies: 4
    Last Post: 17-02-2010, 11:02 PM
  3. Creating partition of database tables
    By LaMarcus in forum Software Development
    Replies: 4
    Last Post: 30-01-2010, 11:48 AM
  4. Database Advantages Multiple Tables
    By G. Kushal in forum Software Development
    Replies: 3
    Last Post: 27-08-2009, 09:30 AM
  5. How to update two database tables coldfusion
    By Rixwel in forum Software Development
    Replies: 3
    Last Post: 10-08-2009, 03:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,188,396.49700 seconds with 16 queries