ITPub博客

首页 > 数据库 > Oracle > Oracle 11G OCP 1Z0-052 165

Oracle 11G OCP 1Z0-052 165

原创 Oracle 作者:LuiseDalian 时间:2014-07-24 06:56:26 0 删除 编辑
(165)You have an ORDERS table with the following structure:

The table has data in the ODATE column for all rows. Many orders are placed in a single day.

You need to ensure that the ODATE column must contain data for every order in future.

Which method would serve the purpose?

A. Modify the column using the ALTER TABLE...MODIFY command.

B. Add a UNIQUE constraint to the column using the ALTER TABLE...ADD CONSTRAINT command.

C. Add a NOT NULL constraint to the column using the ALTER TABLE...ADD CONSTRAINT command.

D. Add  a  PRIMARY  KEY  constraint  to  the  column  using  the  ALTER  TABLE...ADD  CONSTRAINT command.

答案:(A)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1225860/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040880