how to delete a table based on dependencies in sql server code example
Example: sql drop with dependencies
DROP TABLE tableName CASCADE;
-- Table can also be schema or whatever else.
DROP TABLE tableName CASCADE;
-- Table can also be schema or whatever else.