Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 when is view created ?

Author  Topic 

sql_buddy
Starting Member

41 Posts

Posted - 2009-07-27 : 02:59:53
view is created when we query on that view or before?

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-07-27 : 03:04:35
At the time CREATE VIEW.... is executed

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

sql_buddy
Starting Member

41 Posts

Posted - 2009-07-27 : 03:06:47
Time when we query on the view or already created ?
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-07-27 : 04:57:15
quote:
Originally posted by sql_buddy

Time when we query on the view or already created ?


It is created when you execute CREATE VIEW...
When you query on it, it is not created again

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -