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