Buy Questpond's video subscriptions on
huge discount
.
Online: 11617
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
Sql Server
>
Loading ...
Reason for columns made as non-clustered Index? [Resolved]
Posted by
Oswaldlily
under
Sql Server
on 7/17/2012 |
Points: 10
| Views : 2292 | Status :
[Member]
| Replies : 6
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
V have made one columns as non-clustered index..But dont know reason why I have to make it so??
Can anyone explain me for reason it made as non-clustered index?
[Resolved]
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Patel28rajendra
on: 7/25/2012
[Member]
Starter
|
Points: 50
0
hI
there are two reasons for that
1.Columns that undergo frequent changes
2.Wide keys
refer this link for more details
http://msdn.microsoft.com/en-us/library/aa933131%28v=sql.80%29.aspx
R D Patel
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Ranjeet_8
on: 7/17/2012
[Member]
[MVP]
Gold
|
Points: 25
0
Refer this url
http://msdn.microsoft.com/en-us/library/ms177484%28v=sql.105%29.aspx
.
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Arul44ece
on: 7/17/2012
[Member]
Starter
|
Points: 25
0
Hi ...
Please refer the below link.
http://www.codeproject.com/Articles/39006/Overview-of-SQL-Server-2005-2008-Table-Indexing-Pa#what_is_index
Regards,
Arul R
arul44.ece@gmail.com
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Karthikeyanp365
on: 7/25/2012
[Member]
Starter
|
Points: 25
0
We can set only one column as a clustered index and can not set more than one column.
We can set non-clustered index for more than one column in a table.
In default clustered index will be created while set up primary key for a column then we can not set clustered index for other column in that table so here we can set non-clustered index
non-clustered index column logically arranged so while use this column in where condition it gives better performance.
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Patel28rajendra
on: 7/25/2012
[Member]
Starter
|
Points: 25
0
Hi
here is some more information about cluster and non cluster index
http://www.codeproject.com/Articles/173275/Clustered-and-Non-Clustered-Index-in-SQL-2005
http://blog.sqlauthority.com/2009/02/21/sql-server-observation-effect-of-clustered-index-over-nonclustered-index-2/
R D Patel
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Ranjeet_8
on: 7/25/2012
[Member]
[MVP]
Gold
|
Points: 25
0
rebuilding a non-clustered index
doesnot affect actual table space, but a clustered index "includes" the
data pages, hence the change in space usage when rebuilding the index
look at dis url
http://msdn.microsoft.com/en-us/library/aa933130%28v=sql.80%29.aspx
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...