IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ACLENTRIES_2') AND type='U') DROP TABLE ACLENTRIES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ACLENTRYS_1') AND type='U') DROP TABLE ACLENTRYS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ACLS_1') AND type='U') DROP TABLE ACLS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ALIASES_1') AND type='U') DROP TABLE ALIASES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CATALOGVERSION_1') AND type='U') DROP TABLE CATALOGVERSION_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CATALOGVERSION_2') AND type='U') DROP TABLE CATALOGVERSION_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CATALOGVERSION_3') AND type='U') DROP TABLE CATALOGVERSION_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CFG_PROPS_1') AND type='U') DROP TABLE CFG_PROPS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETEDPUBLISHTABLE_1') AND type='U') DROP TABLE COMPLETEDPUBLISHTABLE_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETEDRESULTTABLE_1') AND type='U') DROP TABLE COMPLETEDRESULTTABLE_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETEDRESULTTABLE_2') AND type='U') DROP TABLE COMPLETEDRESULTTABLE_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETEDTABLE_1') AND type='U') DROP TABLE COMPLETEDTABLE_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETEDTABLE_2') AND type='U') DROP TABLE COMPLETEDTABLE_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETEDTABLE_3') AND type='U') DROP TABLE COMPLETEDTABLE_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETED_CRD_INFO_1') AND type='U') DROP TABLE COMPLETED_CRD_INFO_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'COMPLETED_CRD_INFO_2') AND type='U') DROP TABLE COMPLETED_CRD_INFO_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CRD_INFO_1') AND type='U') DROP TABLE CRD_INFO_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CRD_INFO_2') AND type='U') DROP TABLE CRD_INFO_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CRD_INFO_3') AND type='U') DROP TABLE CRD_INFO_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'CRD_INFO_4') AND type='U') DROP TABLE CRD_INFO_4
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DRESULT_1') AND type='U') DROP TABLE DRESULT_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DRESULT_2') AND type='U') DROP TABLE DRESULT_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMICNODE_1') AND type='U') DROP TABLE DYNAMICNODE_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMICNODE_2') AND type='U') DROP TABLE DYNAMICNODE_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMICNODE_3') AND type='U') DROP TABLE DYNAMICNODE_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMICNODE_4') AND type='U') DROP TABLE DYNAMICNODE_4
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMICRESULT_1') AND type='U') DROP TABLE DYNAMICRESULT_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMIC_CONNECTIONS_1') AND type='U') DROP TABLE DYNAMIC_CONNECTIONS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'DYNAMIC_CONNECTIONS_MAPPING_1') AND type='U') DROP TABLE DYNAMIC_CONNECTIONS_MAPPING_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'EXTENDACLENTRIES_1') AND type='U') DROP TABLE EXTENDACLENTRIES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'EXTENDACLENTRIES_2') AND type='U') DROP TABLE EXTENDACLENTRIES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'FOLDERS_1') AND type='U') DROP TABLE FOLDERS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'FOLDERS_2') AND type='U') DROP TABLE FOLDERS_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'FOLDERS_3') AND type='U') DROP TABLE FOLDERS_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'GROUPPROFILES_1') AND type='U') DROP TABLE GROUPPROFILES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'GROUPS_1') AND type='U') DROP TABLE GROUPS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'GROUPS_2') AND type='U') DROP TABLE GROUPS_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'GUPROFILES_1') AND type='U') DROP TABLE GUPROFILES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'GUPROFILES_2') AND type='U') DROP TABLE GUPROFILES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'LCVERSION_1') AND type='U') DROP TABLE LCVERSION_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'NODES_1') AND type='U') DROP TABLE NODES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'NODES_2') AND type='U') DROP TABLE NODES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'NODES_3') AND type='U') DROP TABLE NODES_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'NODES_4') AND type='U') DROP TABLE NODES_4
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'NODES_5') AND type='U') DROP TABLE NODES_5
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'REPORTVERSION_1') AND type='U') DROP TABLE REPORTVERSION_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'REPORTVERSION_2') AND type='U') DROP TABLE REPORTVERSION_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'REPORTVERSION_3') AND type='U') DROP TABLE REPORTVERSION_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESOURCEMAP_1') AND type='U') DROP TABLE RESOURCEMAP_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESOURCENODES_1') AND type='U') DROP TABLE RESOURCENODES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESOURCENODES_2') AND type='U') DROP TABLE RESOURCENODES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESOURCENODES_3') AND type='U') DROP TABLE RESOURCENODES_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESOURCENODES_4') AND type='U') DROP TABLE RESOURCENODES_4
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESULTVERSION_1') AND type='U') DROP TABLE RESULTVERSION_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESULTVERSION_2') AND type='U') DROP TABLE RESULTVERSION_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESULT_1') AND type='U') DROP TABLE RESULT_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RESULT_2') AND type='U') DROP TABLE RESULT_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'RGPROFILES_1') AND type='U') DROP TABLE RGPROFILES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ROLEPROFILES_1') AND type='U') DROP TABLE ROLEPROFILES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ROLEPROFILES_2') AND type='U') DROP TABLE ROLEPROFILES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ROLES_1') AND type='U') DROP TABLE ROLES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ROLES_2') AND type='U') DROP TABLE ROLES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'ROLES_3') AND type='U') DROP TABLE ROLES_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'TASKCONTEXT') AND type='U') DROP TABLE TASKCONTEXT
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'USERPROFILES_1') AND type='U') DROP TABLE USERPROFILES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'USERPROFILES_2') AND type='U') DROP TABLE USERPROFILES_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'USERPROFILES_3') AND type='U') DROP TABLE USERPROFILES_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'USERS_1') AND type='U') DROP TABLE USERS_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'USERS_2') AND type='U') DROP TABLE USERS_2
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'USERS_3') AND type='U') DROP TABLE USERS_3
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'VERSIONNODES_1') AND type='U') DROP TABLE VERSIONNODES_1
GO
IF EXISTS (SELECT 1 FROM sysobjects WHERE id=OBJECT_ID(N'VERSIONNODES_2') AND type='U') DROP TABLE VERSIONNODES_2
GO
