Search
 
SCRIPT & CODE EXAMPLE
 

SQL

on delete set default

ON DELETE SET DEFAULT

SQL Server sets the rows in the child table to their default values
if the corresponding rows in the parent table are deleted.

To execute this action, the foreign key columns must have default definitions.

"Note that: a nullable column has a default value of (NULL) 
 if no default value specified "
Comment

PREVIOUS NEXT
Code Example
Sql :: iterative instruction sql 
Sql :: increase space oracle aws instance 
Sql :: are both the inserted and deleted tables used in update trigger 
Sql :: sql online code 
Sql :: query to generate query to drop primary keys or foreign key in ms sql server 
Sql :: salesforce soql get parents without children 
Sql :: knex last insert id mysql 
Sql :: query builder doctrien return sql 
Sql :: mysql create index lost connection 
Sql :: SQL - Row Number into Alphabetical characters 
Sql :: show blank in column if condition not matches in join mysql 
Sql :: oracle apex call duration 
Sql :: sqldf change user 
Sql :: where field is null sql knex 
Sql :: postgresql between month 
Sql :: postgresql Change role for the current session to the new_role 
Sql :: cassandra query example 
Sql :: get statis values sql 
Sql :: how to get employee having maximum experience in mysql 
Sql :: ring PostgreSQL 
Sql :: show tables in oracle 
Sql :: snowflake last query id 
Sql :: mysql get last character of string 
Sql :: select count(*) from table 
Sql :: check_username 
Sql :: how to insert a ROWGUIDCOL into a table 
Sql :: psql check if sql script is valid 
Sql :: 9999 
Sql :: modulous in sql 
Sql :: extract sql from query object sqlalchemy 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =