if exists (select 1 from sysobjects where id = object_id('ACLENTRIES_2') and type = 'U') drop table ACLENTRIES_2 go if exists (select 1 from sysobjects where id = object_id('ACLS_2') and type = 'U') drop table ACLS_2 go if exists (select 1 from sysobjects where id = object_id('ACLS_WITH_RESOURCE_1') and type = 'U') drop table ACLS_WITH_RESOURCE_1 go if exists (select 1 from sysobjects where id = object_id('ALIASES_1') and type = 'U') drop table ALIASES_1 go if exists (select 1 from sysobjects where id = object_id('CATALOGVERSION_2') and type = 'U') drop table CATALOGVERSION_2 go if exists (select 1 from sysobjects where id = object_id('COMPLETEDPUBLISHTABLE_2') and type = 'U') drop table COMPLETEDPUBLISHTABLE_2 go if exists (select 1 from sysobjects where id = object_id('COMPLETEDRESULTTABLE_3') and type = 'U') drop table COMPLETEDRESULTTABLE_3 go if exists (select 1 from sysobjects where id = object_id('COMPLETEDTABLE_4') and type = 'U') drop table COMPLETEDTABLE_4 go if exists (select 1 from sysobjects where id = object_id('DRESULT_2') and type = 'U') drop table DRESULT_2 go if exists (select 1 from sysobjects where id = object_id('DYNAMICRESULT_1') and type = 'U') drop table DYNAMICRESULT_1 go if exists (select 1 from sysobjects where id = object_id('EXTENDACLENTRIES_2') and type = 'U') drop table EXTENDACLENTRIES_2 go if exists (select 1 from sysobjects where id = object_id('FOLDERS_3') and type = 'U') drop table FOLDERS_3 go if exists (select 1 from sysobjects where id = object_id('GROUPPROFILES_1') and type = 'U') drop table GROUPPROFILES_1 go if exists (select 1 from sysobjects where id = object_id('GROUPS_1') and type = 'U') drop table GROUPS_1 go if exists (select 1 from sysobjects where id = object_id('GUPROFILES_1') and type = 'U') drop table GUPROFILES_1 go if exists (select 1 from sysobjects where id = object_id('NODES_3') and type = 'U') drop table NODES_3 go if exists (select 1 from sysobjects where id = object_id('REPORTVERSION_2') and type = 'U') drop table REPORTVERSION_2 go if exists (select 1 from sysobjects where id = object_id('RESOURCEMAP_1') and type = 'U') drop table RESOURCEMAP_1 go if exists (select 1 from sysobjects where id = object_id('RESOURCENODES_3') and type = 'U') drop table RESOURCENODES_3 go if exists (select 1 from sysobjects where id = object_id('RESULTVERSION_2') and type = 'U') drop table RESULTVERSION_2 go if exists (select 1 from sysobjects where id = object_id('RESULT_2') and type = 'U') drop table RESULT_2 go if exists (select 1 from sysobjects where id = object_id('RGPROFILES_1') and type = 'U') drop table RGPROFILES_1 go if exists (select 1 from sysobjects where id = object_id('ROLEPROFILES_2') and type = 'U') drop table ROLEPROFILES_2 go if exists (select 1 from sysobjects where id = object_id('ROLES_2') and type = 'U') drop table ROLES_2 go if exists (select 1 from sysobjects where id = object_id('SCHDLASTEXETIME_1') and type = 'U') drop table SCHDLASTEXETIME_1 go if exists (select 1 from sysobjects where id = object_id('TBL_IDGENRATOR_JINFONET') and type = 'U') drop table TBL_IDGENRATOR_JINFONET go if exists (select 1 from sysobjects where id = object_id('TRIGGERS_1') and type = 'U') drop table TRIGGERS_1 go if exists (select 1 from sysobjects where id = object_id('UPDATEDETAILS_1') and type = 'U') drop table UPDATEDETAILS_1 go if exists (select 1 from sysobjects where id = object_id('USERPROFILES_2') and type = 'U') drop table USERPROFILES_2 go if exists (select 1 from sysobjects where id = object_id('USERS_3') and type = 'U') drop table USERS_3 go if exists (select 1 from sysobjects where id = object_id('VERSIONNODES_2') and type = 'U') drop table VERSIONNODES_2 go if exists (select 1 from sysobjects where id = object_id('TASKCONTEXT') and type = 'U') drop table TASKCONTEXT go if exists (select 1 from sysobjects where id = object_id('DYNAMICNODE_2') and type = 'U') drop table DYNAMICNODE_2 go