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
What are the two types of cursors in pl sql?
What is difference between procedure and trigger?
What is the difference between drop and truncate commands?
What are the types of index in sql?
Is left join and outer join same?
What is the usage of nvl function?
What is trigger in pl sql with examples?
Is left join faster than inner join?
What is the need of merge statement?
How do you take the union of two tables in sql?
What is sql architecture?
How many sql statements are used? Define them.
What is offset and limit in sql?
What are the advantages of normalization?
What is online transaction processing (oltp)?