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

What is trigger and stored procedure in sql?

1027


What is inner join in sql?

1075


Why query optimization is needed?

920


Why is theta join required?

1140


Why do we use sql constraints? Which constraints we can use while creating database in sql?

1036


Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?

1035


How do you drop a trigger?

982


What is rownum?

972


What are different types of keys?

1096


What is the use of desc in sql?

973


What is trigger in flip flop?

1007


Which is better join or subquery?

1127


What does 0 mean in sql?

962


Which join is like inner join?

1017


What is relationship? How many types of relationship are there?

1168