all groups > sql server mseq > april 2004 >
You're in the

sql server mseq

group:

No of columns in a table


No of columns in a table Retna
4/19/2004 8:46:08 PM
sql server mseq:
Hi all
Is there a limit on no of columns in a table. How it will affect the performance of a query. What is the optimum max no of columns a table can contain
Re: No of columns in a table Hugo Kornelis
4/20/2004 10:20:28 AM
[quoted text, click to view]
(snip)

Hi Hari,

There is in indirect performance effect.

Adding columns to a table usually increases the avarage number of
bytes per row. This means less rows can be stored in a page. More
pages to be read when the table is scanned, lower cache hit ration
when specific rows are retrieved through an index.

Best, Hugo
--

Re: No of columns in a table Hari
4/20/2004 10:48:00 AM
Hi,

Columns per table : 1024

How it will affect the performance of a query:

Columns in a table will not affect the performance of the query in anyway,
The performance will be affected based on TSQL
statement and Index you are using.

What is the optimum max no of columns a table can contain?

There is no such restrictions on this.

Thanks
Hari
MCDBA



[quoted text, click to view]
performance of a query. What is the optimum max no of columns a table can
contain.
[quoted text, click to view]

AddThis Social Bookmark Button