if exists (SELECT * FROM sys.indexes WHERE name = 'CI_ConnectionWiki_Connection' AND object_id = OBJECT_ID('dbo.ConnectionHandbook')) and not exists (SELECT * FROM sys.indexes WHERE name = 'CI_ConnectionHandbook_Connection' AND object_id = OBJECT_ID('dbo.ConnectionHandbook'))
	exec sp_rename N'dbo.ConnectionHandbook.CI_ConnectionWiki_Connection', N'CI_ConnectionHandbook_Connection', N'INDEX';