Does table (string, string) require index?

Posted by abatishchev on Stack Overflow See other posts from Stack Overflow or by abatishchev
Published on 2010-06-13T12:56:55Z Indexed on 2010/06/13 13:02 UTC
Read the original article Hit count: 207

In my database running on SQL Server 2008 R2 I have a special table for global variables:

CREATE TABLE global_variables
(
    name NVARCHAR(50),
    value NVARCHAR(50) NOT NULL
CONSTRAINT PK_global_variables PRIMARY KEY CLUSTERED
(
    name ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

Does such table require indexing on value or not?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about indexing