What is a VIEW? How to get script for a view?

Questions by Beena   answers by Beena

Showing Answers 1 - 3 of 3 Answers

View is vartual table based on record set of select statement. View cantain the field from  on one or more than one table's fields. The using view we can use JOIN and where statement and IT' s looks like single table .

Ex:- Create View view_name AS SELECT Column(s)  from TABLEname

where Condition

Any problem in anywhere Don't Hesitate write rahultripathi@myway.com   

  Was this answer useful?  Yes

SankaraNarayanan

  • Oct 3rd, 2005
 

View is the only part of existing table(Collection Cols) and we have to collect the no of col from table and we get  one view.The Max no.of col in view as 1024.

  Was this answer useful?  Yes

starmile

  • Jan 2nd, 2006
 

View is a logical partition of one or more table in horizontally(by putting condition) or vertically (by including selected columns).

 View can be used to update table, provides security mechanism.

view defionition(qurey) stored as plan text or Encrypted text

We can see view definition by using following stored procedure

exec sp_helptext viewname

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions