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

what is view?

Answer Posted / subhajit guha

View in sql called the virtual table.Physically it has no
existance, so that it don't occupy the space.It retrives
the data from original table at runtime.
Views are stored in ORACLE system catalog.
Basically, in realtime environment views are used to
protect the main table for operation.Besides for security
purpose view must be used.i.e. one user can hide the main
tale from other user for creating view.

On basic of creation of view, it is divied into two pars....

1. Simple view: In that case columns for same table(single
table) are fetched for creating a view.

Syntax: SQL>create view <view_name> as select <column
name1.column name2....> from table where <condition>;

2. Complex view: Columns are fetched from different tables
on basis of operation would perform.Generally for join
operation it is used.

Syntax: SQL>create view <view_name> as select <col1..coln
from table 1>,<col 1..col n for table 2>....< .. for table
n> from table 1,..,table n where <condition>;

On basis of operations on view ... it is divided inti two
parts:

1. Read only view, 2. Updatable view
** incase of updatable view insertion,deletion and updation
can be done...... aggregation,rowid,rownum and any group
function cann't be performed.
** incase of read only view, only view canbe read, no DML
operations cann't be perfomed.

to drop a view ..... we use:

SQL>drop view <view_name>;

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define a variable of a specific record type?

1078


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

2008


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

2325


What is a dead lock in oracle?

1122


State the various uses of dbcc command?

1060


What is the usage of save points in oracle database?

964


What is oracle host variable?

1065


How to list all user accounts in oracle?

1027


Explain cascading triggers.

1074


Explain the difference between sap and oracle?

1029


What is the quickest way to export a table to a flat file?

968


How to convert character types to numeric types?

1134


Can we convert a date to char in oracle and if so, what would be the syntax?

1015


Give syntax for SQL and ORACLE joins.

1094


How to write a left outer join with the where clause in oracle?

1084