Solved

indid = 255 and impid = -1

Posted on 2006-11-02
4
829 Views
Last Modified: 2007-12-19
I have a few indexes from an inherited database that have the values in the sysindexes table of impid = -1 and indid = 255.  The names of the indexes are not in the table itself.  Were these indexes that had been dropped?  What does indid = 255 mean?  what does impid = -1 mean?
0
Comment
Question by:KathleenR
  • 2
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17857943
>What does indid = 255 mean?  
Indid 255 are holders in sysindexes for text, ntext and image data.

>Were these indexes that had been dropped?  
no

>what does impid = -1 mean?
column impid = -1 has no meaning for these
0
 

Author Comment

by:KathleenR
ID: 17858008
so how is it these indexes are in the sysindexes table but when I go to manage indexes on the table they are not there or when I try to do a dbcc indexdefrag the command errors on those index names?

0
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 17858067
they are not normal indexes, as said they are system (internal) indexes. they are to keep the correlation between the table rows and the text, ntext and image data which are not inline with the rows on the same pagees, but on other pages.
you don't need to dbcc indexdefrag those, simply ignore them
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 17858111
select sysobjects.name,sysindexes.name, * from sysindexes, sysobjects where sysindexes.id = sysobjects.id
and xtype = 'u'

this will give u the name of the table or view which is indexed
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

758 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

21 Experts available now in Live!

Get 1:1 Help Now