Multiple choice technology databases

In NPS, 'ALTER TABLE customer ADD COLUMN (newcol char(10))' will add a new column to the table

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The SQL syntax is incorrect for Netezza. The parentheses around the column definition are wrong. The correct syntax should be: ALTER TABLE customer ADD COLUMN newcol char(10); (no parentheses around column name and type).