CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 1: C2090-616: DB2 11.1 Fundamentals for LUW

Below are the SQL statements a DBA is planning to execute on a database:CREATE TABLE t1 (name VARCHAR (1));INSERT INTO t1 VALUES ("˜A'), ("˜B'), ("˜C'), ("˜D');ALTER TABLE t1 ALTER COLUMN name SET DATA TYPE INT;What will be the outcome of the last statement?

Nội dung câu hỏi

Below are the SQL statements a DBA is planning to execute on a database:CREATE TABLE t1 (name VARCHAR (1));INSERT INTO t1 VALUES ("˜A'), ("˜B'), ("˜C'), ("˜D');ALTER TABLE t1 ALTER COLUMN name SET DATA TYPE INT;What will be the outcome of the last statement?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. The statement will fail due to variable length character error
  2. B. The statement will fail due to an incompatible data type error
  3. C. The statement will execute successfully and it deletes the character data — đáp án hiện tại
  4. D. The statement will execute successfully and it internally converts the character data into ASCII numbers

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề