Database MCQS - QUESTION DETAILS

In MySQL, what is the purpose of the CASCADE keyword in a FOREIGN KEY constraint?
A. Automatically adds a new row
B. Automatically updates or deletes related rows
C. Allows NULL values
D. Sorts values in ascending order

CASCADE automatically updates or deletes related rows when the referenced row is updated or deleted.

Similar Questions

In MySQL, what does the term "ACID" stand for in the context of transactions?






Which SQL Server statement is used to grant execute permissions on a stored procedure?






Which Oracle statement is used to grant execute permissions on a stored procedure?






What is the purpose of the Oracle DBMS_SCHEDULER package?






In Oracle, what is the purpose of the WITH clause?






Which SQL statement is used to insert new data into a table?






What is the purpose of the SQL WHERE clause?






What is the purpose of the SQL Server XML INDEX option?






In SQL Server, what is the purpose of the MERGE statement?






What does T-SQL stand for in the context of SQL Server?