Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Primary Key On Varchar column Expand / Collapse
Author
Message
Posted Saturday, February 25, 2012 1:29 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, March 31, 2014 12:28 PM
Points: 50, Visits: 221
Dear Sir,

I am in confusion I want to build primary key index(clustered) on varchar
data type column which length(6), but my some freinds told me to buld index on int. data type column for your sql performance so what i do
plz. give me idea and why do it plz. explain me..

thanks & regards


Post #1257756
Posted Saturday, February 25, 2012 2:33 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 5:02 AM
Points: 39,866, Visits: 36,207
http://www.sqlservercentral.com/articles/Indexing/68563/



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1257759
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse