Ondelete clause is specified with
a.)Drop table
b.)Delete command
c.)Create table
d.)Select command
Answer Posted / manish
create command
Ex.
CREATE TABLE mailing_group (
id int unsigned NOT NULL AUTO_INCREMENT ,
mailing_id int unsigned NOT NULL,
group_type enum('Include', 'Exclude'),
entity_table varchar(64) NOT NULL,
entity_id int unsigned NOT NULL,
PRIMARY KEY ( id ),
CONSTRAINT FK_civicrm_mailing_group_mailing_id FOREIGN
KEY (mailing_id) REFERENCES civicrm_mailing(id) ON DELETE
CASCADE
) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE
utf8_unicode_ci ;
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Is primary key auto increment?
What is row level locking?
How to insert dynamic values in mysql using php?
List some comparisons operators used in mysql?
How database are managed?
How do I add a column to a table in mysql?
How much does mysql enterprise cost?
How to use sum function in where clause in mysql?
What is back end and front end?
What is the difference between now() and current_date()?
Explain timestamp?
Explain what is mysql?
What is the difference between primary key and candidate key?
What is the difference between mysql_fetch_array() and ysql_fetch_object() ?
Is the syntax correct? Explain the meaning of the syntax given below: $dbc = mysqli_connect('data.aliensabductedme.com', 'owen', 'aliensrool', 'aliendatabase');