--
-- WARNING: This file was automatically generated by BX CodeGenerator
--

																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSEMPPRINTER_BXPPrnCd_BXPLMSPRINTER_Code' and xtype = 'F') ALTER TABLE [@BXPLMSEMPPRINTER] DROP CONSTRAINT BxFK_BXPLMSEMPPRINTER_BXPPrnCd_BXPLMSPRINTER_Code
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																													--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSEMPPRINTER_BXPEmpID_OHEM_empID' and xtype = 'F') ALTER TABLE [@BXPLMSEMPPRINTER] DROP CONSTRAINT BxFK_BXPLMSEMPPRINTER_BXPEmpID_OHEM_empID
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																															--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBTAL_BXPEnCd_BXPLMSMOBTEN_Code' and xtype = 'F') ALTER TABLE [@BXPLMSMOBTAL] DROP CONSTRAINT BxFK_BXPLMSMOBTAL_BXPEnCd_BXPLMSMOBTEN_Code
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBLOG_BXPItmCd_OITM_ItemCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBLOG] DROP CONSTRAINT BxFK_BXPLMSMOBLOG_BXPItmCd_OITM_ItemCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBLOG_BXPWHCod_OWHS_WhsCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBLOG] DROP CONSTRAINT BxFK_BXPLMSMOBLOG_BXPWHCod_OWHS_WhsCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBLOG_BXPWHTo_OWHS_WhsCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBLOG] DROP CONSTRAINT BxFK_BXPLMSMOBLOG_BXPWHTo_OWHS_WhsCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																					--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBPICK_BXPItmCd_OITM_ItemCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBPICK] DROP CONSTRAINT BxFK_BXPLMSMOBPICK_BXPItmCd_OITM_ItemCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBPICK_BXPWHCod_OWHS_WhsCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBPICK] DROP CONSTRAINT BxFK_BXPLMSMOBPICK_BXPWHCod_OWHS_WhsCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																					--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBTEN_BXPLnCod_BXPLMSMOBTLN_Code' and xtype = 'F') ALTER TABLE [@BXPLMSMOBTEN] DROP CONSTRAINT BxFK_BXPLMSMOBTEN_BXPLnCod_BXPLMSMOBTLN_Code
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																													--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBTEN_BXPItmCd_OITM_ItemCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBTEN] DROP CONSTRAINT BxFK_BXPLMSMOBTEN_BXPItmCd_OITM_ItemCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																															--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBTLN_BXPHdCd_BXPLMSMOBTHD_Code' and xtype = 'F') ALTER TABLE [@BXPLMSMOBTLN] DROP CONSTRAINT BxFK_BXPLMSMOBTLN_BXPHdCd_BXPLMSMOBTHD_Code
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																													--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBTLN_BXPItmCd_OITM_ItemCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBTLN] DROP CONSTRAINT BxFK_BXPLMSMOBTLN_BXPItmCd_OITM_ItemCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																											--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSMOBTLN_BXPWHCod_OWHS_WhsCode' and xtype = 'F') ALTER TABLE [@BXPLMSMOBTLN] DROP CONSTRAINT BxFK_BXPLMSMOBTLN_BXPWHCod_OWHS_WhsCode
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																			--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSPRINTLAYOUT_BXPLayCd_BXPLMSPRINTLAYSET_Code' and xtype = 'F') ALTER TABLE [@BXPLMSPRINTLAYOUT] DROP CONSTRAINT BxFK_BXPLMSPRINTLAYOUT_BXPLayCd_BXPLMSPRINTLAYSET_Code
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																													--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSPRINTLAYOUT_BXPPrnCd_BXPLMSPRINTER_Code' and xtype = 'F') ALTER TABLE [@BXPLMSPRINTLAYOUT] DROP CONSTRAINT BxFK_BXPLMSPRINTLAYOUT_BXPPrnCd_BXPLMSPRINTER_Code
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																																															--
if exists (select 1 from sysobjects where name = 'BxFK_BXPLMSUSRPREF_BXPEmpID_OHEM_empID' and xtype = 'F') ALTER TABLE [@BXPLMSUSRPREF] DROP CONSTRAINT BxFK_BXPLMSUSRPREF_BXPEmpID_OHEM_empID
																																	