Vidyalelo
Hadoop · Q50

Querying with Hive

Programming · Hadoop · question 50

Q50

Which of the following statement will create a column with varchar datatype?

A.
CREATE TABLE foo (bar CHAR(10))
B.
CREATE TABLE foo (bar VARCHAR(10))
Answer
C.
CREATE TABLE foo (bar CHARVARYING(10))
D.
All of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board