Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Clustering Key

$
0
0
Have a table with below structureColumn_name Type LengthAGENT_ID float 8AGENT_CODE nvarchar 510ENG nvarchar 510we have a procedure which is the one that will be accessing this table by the column AGENT_CODE, the table is having a clustered index on column AGENT_CODE is that correct or its better to have a clustered index on AGENT_ID and a Non-Clustered Index on AGENT_CODE? AGENT_ID is having duplicate values.

Viewing all articles
Browse latest Browse all 6525

Trending Articles