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...

can a view be updated?

Answer Posted / chandana

Yes,Views can be updated but there are some conditions.
-> Depending on type of view ie
Simple views can be updated
Complex views may or may not be updated.
One cannot Perform DML Operations on Complex view
if it contains
1. Group by clause
2. Group functions
3. Distinct
4. Pseudocolumn rownum

One cannot modify the view if it has
1. Group by clause
2. Group functions
3. Distinct
4. Pseudocolumn rownum
5. Columns by expressions

One cannot insert data into views if it has

1. Group by clause
2. Group functions
3. Distinct
4. Pseudocolumn rownum
5. Columns by expressions
6. NOT NULL columns in base table that are not selected in
view

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I call oracle stored procedures that take no parameters?

1087


How to delete a user account in oracle?

952


How to use "out" parameter properly?

1070


How oracle handles dead locks?

1052


What is a initialization parameter file in oracle?

1018


How to put more than 1000 values into an oracle in clause?

1012


What is the difference between Delete, Truncate and Drop in Oracle?

1104


What happens internally when the user types userID/password@string in SQL PLUS Thanks-Bhaskar

4542


What is the fastest query method to fetch data from the table?

1342


How to get last row id?

970


How do you tell what your machine name is and what is its IP address?

2069


How to write an inner join with the where clause in oracle?

1029


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4499


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2806


What is format trigger?

2056