0
Cannot truncate table 'ARITHMETIC.glo.tbEndereco' because it is being referenced by a FOREIGN KEY Constraint.
Truncate has already been executed in the agency table that references the address that is, there are only addresses in the table not referenced by any other table
I want to make truncate
in both to restart the records and there are no inconsistencies (Agencies no addresses and no addresses without agencies)
Could post in the question the SQL you are running?
– Don't Panic
is a simple command Truncate tbEndereco
– Ari Santos
I resolved to delete all records from the table and changing the auto increment value to 1
– Ari Santos
Show, put as Question Answer the executed commands to solve your problem.
– Don't Panic