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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

suriyarupa
Starting Member

19 Posts

Posted - 05/13/2013 :  07:06:49  Show Profile  Reply with Quote
I have a table with lakhs of data. Now I want to create index in this table. So this index is applicable for old data also? or It will maintain indexes for new data only? Please clear this doubt.

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 05/13/2013 :  07:16:08  Show Profile  Reply with Quote
Index will be built using entire data of the table including the existing data unless the table is partitioned and index is created on one or more specific partitions.
Also Index should not be a filtered index in which case it will exclude some set of data based on the defined filter.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
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.04 seconds. Powered By: Snitz Forums 2000