Hello, I have a big problem :) I try to truncate table with foreign keys and I got the message "Cannot truncate table because it is being referenced by a FOREIGN KEY constraint". I read a lot literature about the problem and thought that I found the solution by using delete (e.g. DELETE FROM table_name DBCC CHECKIDENT (table_name, RESEED, 0) ). By still got error message "The DELETE statement conflicted with the REFERENCE constraint". When I am trying to delete with microsoft management studio and execute the previous query (e.g. DELETE FROM table_name DBCC CHECKIDENT (table_name, RESEED, 0) ) it didn't give an error it worked properly. I want to delete all information from a table and add new into it but I don't want to drop and create foreign keys :).
Thanks in advance