Results 1 to 2 of 2

Thread: need help in automatic update

  1. #1
    Join Date
    Jun 2008
    Posts
    1

    need help in automatic update

    i have created a table with the system date as one of the coloumn:

    create table nav_date as (SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI:SS') "Current date" FROM dual)

    ------------------------------------------------------

    how to get the current system date in the table when ever i open that table

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    You can't, as the table stores the data, does not generate dynamically. You can however create a view to do that.

Posting Permissions

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