DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Looking for Undocumented cool stuff...like...

  1. #1
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    select USER from dual;

    USER is not a column in the dual table, yet it returns the current user ... that's cool.

    Is there a web site with undocumented features?
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    SYSDATE is also not a column in DUAL table, yet you've probably often used "SELECT SYSDATE FROM DUAL;". The same goes for UID, for example.

    It is nothing misterious about USER, SYSDATE etc. They are normal built-in functions. The only thing that differs them from other built-in functions is that they require no parameters.

    And they are all documented in SQL manual, so there is no need to look for them among "undocumented features"...
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Mar 2002
    Location
    Mesa, Arizona
    Posts
    1,204
    Oops. I wrote before I read .. sorry folks.
    "I do not fear computers. I fear the lack of them." Isaac Asimov
    Oracle Scirpts DBA's need

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width