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 are views in sql?

537


What is user in sql?

571


Can function return multiple values in sql?

520


What is pl sql package?

588


Explain what is a subquery ?

650






Why do we use joins?

558


Explain table and field in sql?

576


Which join is default?

513


How do you take the union of two tables in sql?

511


what is datawarehouse? : Sql dba

561


What is snowflake sql?

574


What are records give examples?

556


What is a sql profiler?

586


What are pl/sql cursor exceptions?

567


Explain ttitle and btitle.

666