When I created a few new tables, I added some foreign keys via the ALTER TABLE/ADD FOREIGN KEY command. Now I need to truncate those same tables, but in order to do so I obviously need to drop the foreign keys. But when I attempt to drop the keys, I get error message 3728: ______ is not a constraint. When I went into the table design to see what was wrong, I noticed that SQL Server is attaching strange hexadecimal numbers to the ends of my constraint names (e.g. FK_Fact_TimeID_10566F31), making it virtually impossible to drop them.
Is there a way to either stop SQL Server from adding these numbers, or else find a workaround that ignores these numbers when attempting to drop the constraint?