Page 1 of 1

Which one is bigger (takes more disk space) - view or table?

Posted: Thu Jul 12, 2007 7:35 am
by siskokid
Good afternoon,

I have the following question (it might seem silly, but it is important to have it straight) - which one takes more disk space a saved view in a SQL SERVER database (sql query that will woutput columns and rows) or a table itself stored in a SQL SERVER database that contains the same rows and columns as the view? The thing is that the data in the table and the view is stored actually in other tables where I use a many-to-many relation.

I will also very much appreciate an answer which states the exact difference in disk space :)

Thank you in advance,
siskokid

Posted: Thu Jul 12, 2007 7:47 am
by feyd
Why not test them and find out?

Re: Which one is bigger (takes more disk space) - view or ta

Posted: Thu Jul 12, 2007 10:22 am
by ReverendDexter
I agree with Feyd on this, you should test and find out, I think it will also help you to look up exactly what differentiates a "table" from a "veiw". With that knowledge, I think you'll find your answer.
siskokid wrote:I will also very much appreciate an answer which states the exact difference in disk space :)
Not possible unless you want to give us all of your data :twisted: