IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simBinarySet_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simBinarySet_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simOS_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simOS_DBU
	
IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simSystemOS_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simSystemOS_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simOperatingSystem_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simOperatingSystem_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simPackage_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simPackage_DBU
	
IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simPackageMap_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simPackageMap_DBU
	
IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simLicAppTypeV2_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simLicAppTypeV2_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simAppTypeLicTypeMap_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simAppTypeLicTypeMap_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simOEM_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simOEM_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simMiniBrand_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simMiniBrand_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simOEMMap_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simOEMMap_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simApptypeGroupIDMap_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simApptypeGroupIDMap_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simAppTypeDependency_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simAppTypeDependency_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simApptypeProp_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simApptypeProp_DBU

IF EXISTS(SELECT * FROM SYSOBJECTS WHERE NAME = 'simPackageDependency_DBU' AND OBJECTPROPERTY(id, N'IsTable') = 1)
	DROP TABLE simPackageDependency_DBU
