-- 1.0.35 Power.TechnologicalConnection
-- Ñâÿçü ñ ÒÓ
CREATE TABLE TCSpecDocuments
(
	DocumentID		int,
	TCSpecID	int,
	PRIMARY KEY	(DocumentID)	
)
ALTER TABLE TCSpecDocuments
        ADD FOREIGN KEY (DocumentID)
            REFERENCES StoreDocuments
            ON DELETE CASCADE
ALTER TABLE TCSpecDocuments
	ADD FOREIGN KEY (TCSpecID)
            REFERENCES TCSpecs	
			ON DELETE CASCADE