Question: How do I fix this error? SQLQueryl.sql - o...UNT z1606988 (57)) X Create Table Units UnitNo Int Char(25) Numeric(5) Numeric(1) Numeric(1) Char (3) UnitNoPK BuildingNameFK
How do I fix this error?

SQLQueryl.sql - o...UNT z1606988 (57)) X Create Table Units UnitNo Int Char(25) Numeric(5) Numeric(1) Numeric(1) Char (3) UnitNoPK BuildingNameFK Not Null IDENTITY (1,1) Not Nul1, Not Nul1, Not Nul1, Not Nul1, Not Nul1, Primary Key (UnitNo), FOREIGN KEY (BuildingName) REFERENCES BUILDING (BuildingName) ON UPDATE NO ACTION ON DELETE NO ACTION BuildingName AreaSqFT Bedroom Bathroom Garage CONSTRAINT CONSTRAINT Messages Msg 2714, Level 16, State 5, Line 1 There is already an object named BuildingNameFK' in the database. Msg 1750, Level 16, State e, Line 1 Could not create constraint or index. See previous errors. SQLQueryl.sql - o...UNT z1606988 (57)) X Create Table Units UnitNo Int Char(25) Numeric(5) Numeric(1) Numeric(1) Char (3) UnitNoPK BuildingNameFK Not Null IDENTITY (1,1) Not Nul1, Not Nul1, Not Nul1, Not Nul1, Not Nul1, Primary Key (UnitNo), FOREIGN KEY (BuildingName) REFERENCES BUILDING (BuildingName) ON UPDATE NO ACTION ON DELETE NO ACTION BuildingName AreaSqFT Bedroom Bathroom Garage CONSTRAINT CONSTRAINT Messages Msg 2714, Level 16, State 5, Line 1 There is already an object named BuildingNameFK' in the database. Msg 1750, Level 16, State e, Line 1 Could not create constraint or index. See previous errors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
