Which of the following DB2 objects in an efficient way of representing data without the need to maintain it and requires no permanent storage?
What is the maximum length allowed for a VARCHAR2 data type when the VARCHAR2_COMPAT database configuration parameter is set to ON?
With HADR, which of the following configuration and topology choices provides the highest level of protection from potential loss of data in a pureScale environment?
Standby databases are synchronized with the primary database through log data that is generated on the primary and shipped to the standbys. The standbys constantly roll forward through the logs. You can choose from four different synchronization modes. In order of most to least protection, these are SYNC, NEARSYNC, ASYNC, and SUPERASYNC.
Application 1 executes the following statements:
INSERT INTO TAB1 (NAME,AMOUNT) VALUES ('John,100);
COMMIT;
UPDATE TAB1 SET AMOUNT=90 WHERE NAME='John';
After a few seconds, application 2 executes the following query:
SELECT AMOUNT FROM TAB1 WHERE NAME='John'
Assuming the Currently Committed (CUR_COMMIT) configuration parameter is enabled, which of the following is TRUE?
Below are the SQL statements a DBA is planning to execute on a database:
CREATE TABLE t1 (name VARCHAR (1));
INSERT INTO t1 VALUES ('A'), ('B'), ('C'), ('D');
ALTER TABLE t1 ALTER COLUMN name SET DATA TYPE INT;
What will be the outcome of the last statement?
Currently there are no comments in this discussion, be the first to comment!