试题详情
- 单项选择题 You are modifying a table named Product in a SQL Server 2005 database. You want to add a new column named FriendlyName to the Product table. A friendly name for each product will be stored in this column. The table currently contains data. The sales department has not yet created a friendly name for each product. FriendlyName is a required value for each product. You want to add this new column by using the least amount of effort. What should you do?()
A、Define the new column as NULL.Update the FriendlyName column to the same value as the productName column. Alter the FriendlyName column to be NOT NULL.
B、Define the new column as NOT NULL with a default value of ’Undefined.’
C、Define the new column as NULL. Use application logic to enforce the data constraint.
D、Define the new column as NULL with a default value of ’Undefined.’
- B
关注下方微信公众号,在线模考后查看
热门试题
- You install WSUS on
- 你是TestKing网站销售部门的电脑管
- Your company&e
- 您为三个仓库设计无线网络。您的设计必须支
- You need
- Your company&e
- You are d
- Your company
- Your company uses M
- You are
- Youhaveastand-alonef
- 你有一台运行Windows
- You are creating a
- You are the network
- Youarethenetworkadmi
- Youhaveacomputerthat
- Cer-tech .com&
- 你正在创建一个用于成员管理的 Web 站
- Your network&e
- 你有一台运行Windows