Oracle Test1 assesses knowledge on SQL commands and Oracle database management. It covers table creation, data types, and table manipulation, focusing on syntax accuracy and command effects, enhancing database handling skills.
You cannot roll back this statement.
All pending transactions are committed
All views based on the DEPT table are deleted
All data in the table is deleted, and the table structure is also deleted
All data in the table is deleted, but the structure of the table is retained.
Rate this question:
4
2
5
4,5
2,5
Rate this question:
. NUMBER and FLOAT can be a maximum of 38 bytes.
The DATE datatype stores date values with a timestamp
CHAR and VARCHAR2 default to 1 byte if no length is defined.
Both VARCHAR2 and CHAR can exceed 2,000 bytes.
VARCHAR2 can be a maximum size of 4,000 bytes; CHAR, 2,000 bytes
Rate this question:
NUMBER(10,2)
NUMBER(4,5)
FLOAT(122,2)
DATE(8)
CHAR(2500)
Rate this question:
NUMBER
FLOAT
NUMBER(3,2)
NUMBER(2,3)
None of the above
No error will be returned.
Yes. The table name TEST is invalid.
Yes. All columns but the date column must have declared sizes.
Yes. The length of the VARCHAR2 variable must be defined.
Yes. The CHAR column must have a declared size.
Rate this question:
INSERT INTO TEST VALUES(10000.234);
INSERT INTO TEST VALUES(1000.2345);
INSERT INTO TEST VALUES(10000.2345);
INSERT INTO TEST VALUES(100000.2345);
INSERT INTO TEST VALUES(100000.24);
Rate this question:
DML commands execute an implicit rollback.
DML commands require an explicit COMMIT to be rolled back.
DDL commands can be undone.
DDL commands change data in tables.
None of the above.
Rate this question:
INSERT INTO TEST(ID) VALUES(1);
INSERT INTO TEST VALUES(2, 'This is a string');
INSERT INTO TEST(ID, STR) VALUES(3, 'This is another string');
INSERT INTO TEST(STR) VALUES('This is another string still');
INSERT INTO TEST(ID) VALUES('This is yet another string');
Rate this question:
TRUNCATE TABLE TEST;
DELETE FROM TEST WHERE ID = 1;
TRUNCATE TABLE TEST WHERE ID = 1;
REMOVE TABLE TEST;
DELETE FROM TEST;
Rate this question:
INSERT
CREATE TABLE
CREATE SYNONYM
MERGE
TRUNCATE
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.