write a query find which rows of a table is updated on 2
days before?

Answer Posted / bikash khuntia

We can check that whether the table updated on 2 days
before or not as below:-

SELECT * FROM USER_TAB_MODIFICATIONS TB
WHERE TB.table_name='TABLE_NAME'
AND TO_CHAR(TIMESTAMP,'DD')<=2

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of package in pl sql?

713


how many sql ddl commands are supported by 'mysql'? : Sql dba

701


How to sort the rows in sql.

811


Are null values same as that of zero or a blank space?

731


What is trigger with example?

739






How does cross join work?

655


What happens when a trigger is associated to a view?

675


Is there a 64 bit version of ssms?

678


How much ram can sql express use?

699


How can you create an empty table from an existing table?

797


What is dml and ddl?

713


How many sql statements are used? Define them.

774


what are enums used for in mysql? : Sql dba

816


Why partition by is used in sql?

726


what is 'trigger' in sql? : Sql dba

725