Faced the following problem: I have the following tables 
and
To implement deletion by limiting used:
ALTER TABLE dbo.Songs ADD CONSTRAINT FK_Songs_Texts FOREIGN KEY (Text_ID) REFERENCES dbo.Texts(ID) ON DELETE CASCADE It is worth considering that when adding a song to the database, NULL is put in the Text_ID field. Text can be added only when the song information changes. Song_Title stores the song ID . When I delete a song, the song record from the Songs table is deleted, and the text from the Texts table is not deleted. Maybe we should change the limit from Songs.ID to Texts.Song_Title ? Or you can still do something with the original version?

Textstable referring to theSongstable - Viktorovsongs.id -> texts.song_titlesimultaneously renaming the lattersong_id- teran