E. Rollback of a row deletion on PAYROLL
B 37. When granted to USER1, which of the following will allow USER1 to ONLY access table data?
A. Administrative authority
B. SELECT privilege on the table
C. REFERENCES privilege on the table
D. SELECT privilege WITH GRANT OPTION on the table
C 38. A stored procedure has been created with the following statement:
CREATE PROCEDURE P1(INOUT VAR1 VARCHAR(10))...
From the command line processor (CLP), which is the correct way to call this procedure?
A. Call P1 (?)
B. Call P1 (DB2)
C. Call P1 ('DB2')
D. Call P1 ("DB2")
BE 39. Which two of the following SQL data types should be used to store a small binary image?
(Select 2)
A. CLOB
B. BLOB
C. VARCHAR
D. GRAPHIC
E. VARCHAR FOR BIT DATA
C 40. USER1 indicates that when running the following command from their client:
DB2 CONNECT TO sample USER user1
They receive the following error message:
SQL1013N The database alias name or database name "SAMPLE" could not be found. SQLSTATE=42705
Assuming a valid password was entered when prompted, which of the following is the cause of the error?
A. SAMPLE is not listening for incoming connections from clients.
B. The DB2 client version is not compatible with the server version.
C. The client's database directory does not contain an entry SAMPLE.
D. The client's node directory has an entry in it that points at a non-existent server.
B 41. Table T1 has a column C1 char(3) that contains strings in upper and lower case letters. Which of the following queries will find all rows where C1 is the string 'ABC' in any case?
发表评论