I have a table called PX_Child that has a foreign key on PX_Parent. I\'d like to temporarily disable this FK constraint so that I can truncate PX_Parent. I\'m not sure how
SQL server will not let you truncate the table while the constraint exists, even if it's disabled.
Drop the constraint and re-create it after truncating the table.
Or just drop and re-create the tables, whichever is easier to do in your application.