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

Thread: Sql

  1. #1
    Join Date
    Oct 2004
    Posts
    7

    Sql

    Recentrly inserted rows can be know by useing rowid
    But how to find recentrly updated rows.

  2. #2
    Join Date
    Mar 2006
    Posts
    4

    Cool

    select * from "the table you updated"

    =

  3. #3
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    159
    Quote Originally Posted by gk2468
    Recentrly inserted rows can be know by useing rowid
    But how to find recentrly updated rows.
    No, rowid is not a reliable way to find recently inserted rows.

    You need to add a timestamp column of some sort to your table.

  4. #4
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Relational databases have no built-in concept of when a row was changed -- if you need to know it then you store it. as WR says.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

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