可学答题网 > 问答 > MCITP(70-454)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You are a database develope


You are a database developer. You plan to design a database solution byusing SQL Server 2008. You are creating adataba seto support the office manager. Your  database  model has the  following  structure. The database design has the following business requirements: An employee can be assigned more than one  task. Upon completion, thetask is deleted. When a task is deleted, the associated assignment is deleted. When an employee is nolonger available tocomple tea task, theemployee link to the assignment is replaced with a NULL value. You need to implement the business requirements to maintain data integrity. What should you do?()

  • ACreate DDL INSERT triggers on the Employee. Task and Assignment entities.
  • BCreate CHECK constraints on the Task ID and Employee ID attributes in the Assignment entity.
  • CCreate Foreign Keys constraints on the Task ID and EmployeeID attributes in the Assignment entity. Reference the Task and Employee entities respectively. Specify the appropriate On Delete action.
  • DCreate Foreign Keys constraints on the Task ID and Employee ID attributes in theTask and Employeeentities respectively. Reference the Assignment entity, and specify the appropriate On Delete action.
参考答案
参考解析:
分类:MCITP(70-454)题库
相关推荐

1、You are developing a&e

You are developing a Windows Azure application in which a web role and worker role will&en...

2、You are developing a&e

You are developing a component by using the .NET Framework 3.5.The component provides a method&...

3、You are developing a&e

You are developing a class library that will open the network socket connections to computers&e...

4、You are developing a&e

You are developing a server application that will transmit sensitive information on a network. ...

5、You are a database&ens

You are a database administrator for your company. A user named Susan belongs to the Windo...

6、You are developing a&e

You are developing a fiscal report for a customer. Your customer has a main office in&ensp...