Showing posts with label Can we use Truncate command on a table which is referenced by FOREIGN KEY. Show all posts
Showing posts with label Can we use Truncate command on a table which is referenced by FOREIGN KEY. Show all posts

Thursday, November 5, 2009

Can we use Truncate command on a table which is referenced by FOREIGN KEY?

No. We cannot use Truncate command on a table with Foreign Key because of referential integrity.