Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why do we use function in pl sql?

1065


Mention what does the hierarchical profiler does?

1091


Are dml statements autocommit?

1045


Can we rename a column in the output of sql query?

995


Why are cursors used?

1122


Which is faster truncate or drop?

1045


how is myisam table stored? : Sql dba

1056


How many types of keys are there in sql?

1040


What is execute immediate?

1085


How to add a column ‘salary’ to a table employee_details?

1012


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

1003


How do you remove duplicate records from a table?

941


What is a parameter query?

1085


Can we use join in subquery?

1096


What is the use of pl/sql table?

1067