I wanted to know if it is possible to disable a primary key in a table. I will explain the reason for disabling the primary key. I have a table B that has a foregein for table A, plus I need to delete table A without having to delete the foregein from table B. Table A was created with 999 record, however, from record 1 to record 35 were created right, more from record 36 until record 998 was asked to delete the records reserved.
the script to create the table
IF EXISTS (SELECT * FROM SYS.TABLES WHERE NAME = 'Tabela A')
BEGIN
delete from Tabela A
INSERT INTO Tabela A VALUES ('001','Administradora de Cartões Sicredi Ltda.',03106213000190)
INSERT INTO Tabela A VALUES ('035','Administradora de Cartões Sicredi Ltda.(filial RS)',03106213000271)
INSERT INTO Tabela A VALUES ('036','resevado',null)
INSERT INTO Tabela A VALUES ('998','revervado',null)
INSERT INTO Tabela A VALUES ('999','Outros',NULL)
END
GO
Can someone help me to delete this table.