Read this Microsoft article first. Read Me. I use the GUI during design so here is a picture of how it is selected in SSMS.
The syntax added to the foreign key is ” ON DELETE CASCADE “
More Related Contents:
- Efficiently convert rows to columns in sql server
- T-SQL split string
- How can I get column names from a table in SQL Server?
- Conditional WHERE clause in SQL Server
- How can I select the first day of a month in SQL?
- Multi-statement Table Valued Function vs Inline Table Valued Function
- SQL Server Insert if not exists
- GROUP BY to combine/concat a column [duplicate]
- Select statement to find duplicates on certain fields
- How to set table name in dynamic SQL query?
- Copy data into another table
- Using a Variable in OPENROWSET Query
- How to find current transaction level?
- EXISTS vs JOIN and use of EXISTS clause
- Check for file exists or not in sql server?
- Group DateTime into 5,15,30 and 60 minute intervals
- MS SQL “ON DELETE CASCADE” multiple foreign keys pointing to the same table?
- Why is a UDF so much slower than a subquery?
- Is there a SELECT … INTO OUTFILE equivalent in SQL Server Management Studio?
- Cannot use a CONTAINS or FREETEXT predicate on table or indexed view because it is not full-text indexed
- Alternate of lead lag function in SQL Server 2008
- UNIX_TIMESTAMP in SQL Server
- How can I convert a Sql Server 2008 DateTimeOffset to a DateTime
- SQL Server SELECT LAST N Rows
- How can I group by date time column without taking time into consideration
- Generate random int value from 3 to 6
- Add emoji / emoticon to SQL Server table
- Why & When should I use SPARSE COLUMN? (SQL SERVER 2008)
- How to execute a stored procedure inside a select query
- Using CASE Statement inside IN Clause