DB2 - 2 Flashcards
What command is used to add more rows/records?
Add
Insert
Both
None of the above
Insert
Db2 supports binary strings.
TRUE
FALSE
TRUE
In order to connect tables, you utilize the following:
CONNECT
JOIN
BOTH
NONE
JOIN
SELECT CustomerName FROM Customers Where Country=’USA’
is a valid formatted WHERE clause
is not valid because WHERE should be replaced with IF
is not because its a VSAM file
is not valid because SELECT should be replaced with FIND
is a valid formatted WHERE clause
The datetime data types are:
DATE, TIME, and TIMESTAMP.
HOURS, MINUTES and SECONDS
EPOCH,DateTime,TODAY
Hours since January 1, 1970 = %ld\n”, seconds/3600
DATE, TIME, and TIMESTAMP.
CREATE is not used to set up a table?
TRUE
FALSE
FALSE
given: store_name VARCHAR(150) pick best answer:
is a varying character column with a maximum length of 150 is a minimum instruction set for a VSAM file is a flat file key set is a binary object module length
is a varying character column with a maximum length of 150
When did SQL start?
1960’s
1970’s
1980’s
1990’s
1970’s
Do you need to create a table space before creating a table?
FALSE
TRUE
TRUE
In order to query data, you use the SELECT statement.
TRUE
FALSE
TRUE