Solved

Fatser? CLUSTERED OR NON

Posted on 1998-12-18
2
203 Views
Last Modified: 2013-11-15
What's fatser a CLUSTERED INDEX or a NON CLustered index.
The field is recno an integer , also an identity.
The applpication always searches on this filed as it is the PK in the field.

Which index should I use and why?

Tusind Tak!
0
Comment
Question by:tmcconec
2 Comments
 
LVL 2

Accepted Solution

by:
odessa earned 50 total points
ID: 1092330
Clusterd is faster because is order on objects is same on index and so is smaller on same reason, never mind you use it on integer or something other,

some from Books:

Using a clustered index to find data is almost always faster than using a nonclustered index. In addition, using a clustered index is advantageous when many rows with contiguous key values are being retrieved ¾ that is, on columns that are often searched for ranges of values.

0
 

Author Comment

by:tmcconec
ID: 1092331
Thanks.
That's what I thought. I'll go with clustered.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now