SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Index in SQL Server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dinesh.sharma2
Starting Member

2 Posts

Posted - 05/17/2013 :  04:06:11  Show Profile  Reply with Quote
Hi Experts,
I have one question Regrading Cluster Index on P.K Column.
Suppose we have data in my table

Col1(P.K Cluster Index)
101
102
103
104
105
106

Now I run Two Command
1)Delete the Record 3rd position
Delete From tbl where Col=103
2)I insert the record like 10 value in Col.
Insert into tbl values('109')

First Question when we delete the record index rearrange the order of
record Internally in B-Tree or Left the Blank space as it is.

Second when we insert the record it always add at the end of
the B-Tree or in Blank space.


bandi
Flowing Fount of Yak Knowledge

India
2210 Posts

Posted - 05/17/2013 :  05:05:52  Show Profile  Reply with Quote
Refer this link
http://blog.dkumar.co.in/2012/12/clustered-indexes-in-sql-server.html

--
Chandu
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000