Tag: databases

Questions Related to databases

In NPS the minimum NPS row overhead is how many bytes

  1. 24

  2. 26

  3. 28

  4. 22


Correct Option: C

In NPS, it's a best practice to use 'rowid' as a primary key in a database table to guarantee quick access

  1. True

  2. False


Correct Option: B

In NPS, the max number of columns that can be used for a distribution key?

  1. 2

  2. 3

  3. 4

  4. 5


Correct Option: C

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

  1. True

  2. False


Correct Option: B

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

  1. True

  2. False


Correct Option: B

In NPS, boolean data types make good distribution keys

  1. True

  2. False


Correct Option: B
  1. Sending data to all SPUs by SMP host

  2. Sending data to all SPUs by user

  3. Sending data to all SPUs by Operating system

  4. Sending data to SMP host by SPUs


Correct Option: A

In NPS, by default, what is used to signal the end of a line or SQL command within an nzsql session?

  1. single quote

  2. semicolon

  3. double quote

  4. colon


Correct Option: B