Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Views
Message
 
 
À
08/11/2013 13:01:25
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01587551
Message ID:
01587566
Vues:
33
Thank you for your input. I used to use views in VFP but since I started using CursorAdapter the views became unnecessary.

>Also worth mentioning a few of the quirks of view - especially in regard to Order by which has made me more than a little crazy
>
>http://blog.sqlauthority.com/2010/08/23/sql-server-order-by-does-not-work-limitation-of-the-views-part-1/
>
>I should also mention for anyone converting VFP local views (i.e. against DBFs) to remote views against SQL :
>
>in VFP you can use another view as one of the member of a local view in the FROM. Can't do that in a remote view. But instead of using a subquery you can create a SQL view and do your join against that. Saved me a lot of work in converting many many local views that had joins against other local views.
>
>
>>Hi,
>
>
>>
>>I have a general newbie question on SQL Server views.
>>
>>When you create a view, does SQL Server automatically maintain records in the view? Example. Say I create a view on records in a table that have value in column STATUS set to 'O' and in column CATEGORY to 'ABC'. Do I understand that whenever the base table (on which the view is created) gets records of STATUS 'O' and CATEGORY 'ABC', these records immediately are in the view? When when you, say, change the STATUS to 'C', the record is removed from the view (automatically) by SQL Server?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform