views:

28

answers:

2

Adding constraints in sql server comes under which category DML or DDL?

A: 

DDL, since they alter the structure rather than the data.

For example: Referential integrity statements

ho1
A: 

DDL, as you're defining the relationships between tables, not modifying the data stored in them.

Piskvor