July 12, 2005 at 10:52 am
Can someone tell me how can I find when an index was first created?
Thanks,
Larry
July 12, 2005 at 11:16 am
I'm not sure There is a way to tell,
If you don't mind me asking, why do you need this information?
July 12, 2005 at 11:24 am
The only date information about indexes can be found this way :
Select Name, CrDate from dbo.SysObjects where name in ('Primary key name','Unique constraint name') and XType in ('UQ', 'PK')
This will tell you the last creation date of a unique constraint or a primary key. That information is not kept for the indexes.
July 12, 2005 at 11:27 am
I have a request to create an index, but that index already exists.
I want to know when that index was created.
July 12, 2005 at 11:32 am
Can't know if that index is not a constraint (primary key or unique). There's just no information about that on indexes.
July 12, 2005 at 11:38 am
So, that is. May be SQLServer 2005 will give us to possibility to query the creation date of all objects in Db
Thanks
Larry
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply