设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。A、ALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)B、ALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)C、ALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)D、ALTER  TABLE  M  ALTER  Type  NCHAR(4)

设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。

  • A、ALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)
  • B、ALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)
  • C、ALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)
  • D、ALTER  TABLE  M  ALTER  Type  NCHAR(4)

相关考题:

在VisualFoxPro中,如果要将学生表S(学号,姓名,性别,年龄)的“年龄”属性删除,正确的SQL语句是( )。A) ALTER TABLE S DROP COLUMN年龄B)DELETE年龄FROM SC)ALTER TABLE S DELETE COLUMN年龄D)ALTER TABLE S DELETE年龄

在SQL的数据定义功能中,删除表字段名的命令格式是( )。A.ALTER TABLE数据表名DELETE COLUMN字段名B.ALTER TABLE数据表名DROP COLUMN字段名C.ALTER TABLE数据表名CANCEL COLUMN字段名D.ALTER TABLE数据表名CUT COLUMN字段名

以下语句错误的是( )A. alter table emp delete column addcolumn;B. alter table emp modify column addcolumn char(10);C.alter table emp change addcolumn addcolumn int;D. alter table emp add column addcolumn int;

以下能够删除一列的是( )A.alter table emp remove addcolumnB.alter table emp drop column addcolumnC.alter table emp delete column addcolumnD.alter table emp delete addcolumn

下列说法正确的是()A.alter table user drop column sex;B.alter table user add sex varchar(20);C.alter table user drop sex;D.alter table user modify id int primary key;

要给学生信息表(STUDENT)增加一个出生日期字段(日期型),下面正确的是____A CREATE TABLE STUDENT ADD COLUMN 出生日期 DATETIMEB ALTER TABLE STUDENT ALTER COLUMN 出生日期 DATETIMEC ALTER TABLE STUDENT ADD COLUMN 出生日期 DATETIMED ALTER TABLE STUDENT SET COLUMN 出生日期 DATETIME

The EMPLOYEES table has these columns:Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement:What is true about your ALTER statement?() A. Column definitions cannot be altered to add DEFAULT values.B. A change to the DEFAULT value affects only subsequent insertions to the table.C. Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.D. All the rows that have a NULL value for the SALARY column will be updated with the value 5000.

在SQL的数据定义功能中,删除表字段名的命令格式是( )。A.ALTER TABLE数据表名DELETE COLUMN字 段名B.ALTER TABLE数据表名DROP COLUMN字段名C.ALTER TABLE数据表名CANCELC0LUMN字 段名D.ALTER TABLE数据表名CUT COLUMN字段名

将Student.dbf表中jg字段的名称改为籍贯,如下选项中正确的SQL语句是A)ALTER TABLE student ALTER COLUMN jg TO籍贯B)ALTER TABLE student ADD籍贯C(10)C)ALTER TABLE student RENAME jg TO籍贯D)ALTER TABLE student RENAME jg籍贯

删除student表中“平均成绩”字段的正确SQL命令是( )。A. DELETE TABLE student DELETE COLUMN平均成绩B. ALTER TABLE student DELETE COLUMN平均成绩C. ALTER TABLE student DROP COLUMN平均成绩D. DELETE TABLE student DROP COLUMN平均成绩

删除student表的“平均成绩”字段的正确SQL命令是( )。A.DELETE TABLE student DELETE COLUMN平均成绩B.ALTER TABLE student DELETE COLUMN平均成绩C.ALTER TABLE student DROP COLUMN平均成绩D.DELETE TABLE student DROP COLUMN平均成绩

只修改列的数据类型指令是A.ALTER TABLE … … ALTER COLUMNB.ALTER TABLE … MODIFY COLUMN…C.ALTER TABLE … UPDATE …D.ALTER TABLE … UPDATE COLUMN…

将Student.dbf表中jg字段的名称改为籍贯,如下选项中正确的SQL语句是( )。A.ALTER TABLE student ALTER COLUMN jg TO 籍贯B.ALTER TABLE student ADD 籍贯 C(10)C.ALTER TABLE student RENAME jg TO 籍贯D.ALTER TABLE student RENAME jg 籍贯

之前已经创建了一个Student的表,Age有数据类型为Int,现在改为smallint应该( )写。A.ALTER TABLE student ALTER COLUMN sage smallintB.ALTER TABLE student ALTER COLUMN age smallintC.ALTER TABLE student ALTER MODIFY age smallintD.ALTER TABLE student MODIFY sage smallint

假设需要删除Customer表中的LogoutTime列,可以使用如下()方式。 A.ALTER TABLE CUSTOMER DROP column LOGOUTTIMEB.UPDATE TABLE DROP column LOGOUTTIMEC.ALTER TABLE CUSTOMER DROP LOGOUTTIMED.UPDATE TABLE DROP LOGOUTTIME

利用SQL命令删除“学生”表中的“年龄”字段,正确的命令格式是( )。A)ALTER TABLE 学生 DELETE COLUMN 年龄B)ALTER TABLE 学生 DROP COLUMN 年龄C)ALTER TABLE 学生 CANCEL COLUMN 年龄D)ALTER TABLE 学生 CUT COLUMN 年龄

设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。AALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)BALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)CALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)DALTER  TABLE  M  ALTER  Type  NCHAR(4)

SQL server中()语句能将temp表中的hostname字段扩充为varchar(100)。A、alter table temp alter column hostname varchar(1100)B、alter table temp column hostname varchar(100)C、alter table temp alter column of hostname varchar(100)D、alter table temp add column hostname varchar(100)

在SQL Server中,修改表中列定义的正确的SQL语句是()。A、ALTER TABLE 表名 ALTER COLUMN 列名 数据类型B、ALTER TABLE 表名 ALTER 列名 数据类型C、ALTER TABLE MODIFY COLUMN 列名 数据类型D、ALTER TABLE 表名 ADD 列名 数据类型

设有表T,现要在该表新增加一个列,列名为:c1,类型为int。下列能实现该功能的语句是()。A、ALTER TABLE T ADD COLUMN c1 intB、ALTER TABLE T ADD (c1 int)C、ALTER TABLE T ADD COLUMN c1D、ALTER TABLE T ADD c1

订单表Orders的列OrderID的类型是小整型(smallint),根据业务的发展需要改为整型(integer),应该使用下面的哪条语句?()A、ALTER COLUMN OrderID integer FROM OrdersB、ALTER TABLE Orders(OrderID integer)C、ALTER TABLE Orders ALTER COLUMN OrderID integerD、ALTER COLUMN Orders.OrderID integer

设有一个表rsda,该表有一个名为zc的字段。如果要把字段名zc改为zhicheng,可以使用下列命令()A、ALTER TABLE rsda RENAME COLUMN zc TO zhichengB、ALTER TABLE rsda RENAME FIELD zc TO zhichengC、ALTER TABLE rsda COLUMN RENAME zc TO zhichengD、ALTER TABLE rsda FIELD zc RENAME TO zhicheng

The EMPLOYEES table has these columns: LAST NAME VARCHAR2(35) SALARY NUMBER(8,2) HIRE_DATE DATE Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement: ALTER TABLE EMPLOYEES MODIFY ( SALARY DEFAULT 5000); What is true about your ALTER statement?()A、Column definitions cannot be altered to add DEFAULT values.B、A change to the DEFAULT value affects only subsequent insertions to the table.C、Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.D、All the rows that have a NULL value for the SALARY column will be updated with the value 5000.

You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()A、Immediately following statement execution B、After the ALTER TABLE DROP UNUSED COLUMNS command is issued C、After the ALTER TABLE SET UNUSED COLUMN command is issued D、After the ALTER TABLE MODIFY command is issued

假设需要删除Customer表中的LogoutTime列,可以使用如下()方式。A、ALTER TABLE CUSTOMER DROP column LOGOUTTIMEB、UPDATE TABLE DROP column LOGOUTTIMEC、ALTER TABLE CUSTOMER DROP LOGOUTTIMED、UPDATE TABLE DROP LOGOUTTIME

单选题设有表M,将其中的Type列的数据类型改为NCHAR(4)。下列能实现该功能的语句是()。AALTER  TABLE  M  ADD  COLUMN  Type  NCHAR(4)BALTER  TABLE  M  ALTER  COLUMN  Type  NCHAR(4)CALTER  TABLE  M  DROP  COLUMN  Type  NCHAR(4)DALTER  TABLE  M  ALTER  Type  NCHAR(4)

单选题You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()AImmediately following statement execution BAfter the ALTER TABLE DROP UNUSED COLUMNS command is issued CAfter the ALTER TABLE SET UNUSED COLUMN command is issued DAfter the ALTER TABLE MODIFY command is issued