|
Posted by Erland Sommarskog on 07/06/06 22:39
R.A.M. (r_ahimsa_m@poczta.onet.pl) writes:
> I am learning SQL Server and I would like to ask you a question. Could
> you tell me please if sequence of columns in a table has influence on
> performance?
If you mean whether it matters whether you say
CREATE TABLE tbl (a int NOT NULL,
b int NOT NULL,
c int NOT NULL)
or
CREATE TABLE tbl (cint NOT NULL,
b int NOT NULL,
a int NOT NULL)
the answer is: No.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|