joe_pool_is
Well-known member
I am one of those older programmers that has spent most of his life in C++ without databases.
Now, I am working more with VB and C# using more and more SQL Server data.
In the database, there are Tables and there are Views. Most of the old code that we have here collects data by calling one of the Views instead of reading directly from the Tables.
Why?
I tried asking someone before, but the answer didnt fully explain anything. I was told something like "a View presents a snapshot of the data and consumes fewer resources that querying data from a Table." Could someone expand on this? ...in laymans terms, please.
Now, I am working more with VB and C# using more and more SQL Server data.
In the database, there are Tables and there are Views. Most of the old code that we have here collects data by calling one of the Views instead of reading directly from the Tables.
Why?
I tried asking someone before, but the answer didnt fully explain anything. I was told something like "a View presents a snapshot of the data and consumes fewer resources that querying data from a Table." Could someone expand on this? ...in laymans terms, please.