Cascade| Set Null | Set Default with DELETE & UPDATE
Вставка
- Опубліковано 17 жов 2024
- This video helps you to understand what is delete & update cascade in sql server and how to use delete cascade , set null and set default in foreign key.
MS SQL Hindi Playlist : • SQL Tutorials-Hindi
MS SQL English Playlist : • SQL Tutorial-English
Power BI DAX Hindi Playlist : • DAX Hindi
Power BI DAX English Playlist : • DAX English
Power BI Hindi Playlist : • Power BI Tutorials-Hindi
Power BI English Playlist : • Power BI Tutorials-Eng...
#sqlserver #sql #sqlinterviewquestions #mssqlserver #sqlforbeginners #education #rdbms #sqlcourse #sqlcommands
Now my concept of using foreign key has been cleared completely.... thanks for explaining in detail.
Thanks
Thank you for this video.
Glad it was helpful!
while updating the data in parent table i got an error "Cannot update identity column 'Hid'."
should i drop the identity keyword? or there is any alternative!
Disallow insert into identity field
SET IDENTITY_INSERT tablename OFF
Sir why you taken foreign key(cust_id)
for creating relationship in two or more tables, atleast one table must have primary key in my case it is cust_id. Other tables must have the at least one column with same data type(name could be different) i.e cust_Id or customer_id or c_id as foreign key
Good
Thanks
GOOD
Thanks
🙏🙏🙏🙏🙏🙏🙏
Thanks