- A primary key is always-
Unique and not null
- A foreign key can refer to a-
Only primary key of another table
- The constraint, which can be defined only at column level, is-
Not null
- A foreign key can be specified with the table name only when-
Both columns have same name
- Which of the following is not a character data type?
CLOB
- Entity Integrity rule refers to the-
Primary key
- Referential Integrity rule refers to the-
Foreign key
- Which of the following is not a constraint
Default
- A single check constraint can refer to more than one column at-
Table level only
- 'On delete cascade' is used to-
Delete parent records and corresponding child records
- A unique index is created for which two constrains from the following-
Primary key
Unique Constraint
- Which two of the following is true when you create a constraint?
Once created it can't be alerted
A constraint can be created after the table
is created
- Which of the following is true about a sequence?
It belongs to a specific schema
- The RENAME command can't be used to change the name of-
A column
- The NUMBER data type can't be used for-
Hexadecimal
- Which of the following is not a part of SQL?
Data exhibition Language
- Which of the following groups are only DML commands?
Update, insert, delete
- The default format to enter a data is-
dd/mon/yy
- When you want to match the data values using wildcards, the operators used is –
LIKE
- An IN operator is equivalent to-
A combination of multiple OR operators
- The '%' wild card character represents-
One or more characters
- To find the occurrence of a sub string in the given string the function used is-
SUBSTR
- The CONCAT function is similar to-
'||' operator
- A HAVING clause is used to restrict-
Groups
- A WHERE clause is used to restrict-
Rows
- A NULL value is equivalent to-
Unknown value
- The TRUNCATE command is used to-
Remove all rows from a table
- The ALTER TABLE command is not used to-
Disable a constraint
Enable a constraint
- The time format used for the hour, minute and second is-
hh:mm:ss
- Which of the following is not a valid join operation?
subjoin
- To perform a self join you require-
an alias
- In most cases a join operation between two tables involves –
primary key of one table and
foreign key of another
- Which of the following commands does not display duplicate rows-
Union
- Which statement does not end a transaction-
ROLLBACK
- Identify the correct command to create a new user-
CREATE USER newuser IDENTIFIED
BY newuser00
- An Index is automatically created on-
a primary key
- An index uses the-
rowid
- The main purpose of creating a ROLE is-
To Create a
role model of a user
- The
main purpose of creating a view is for –
data security
NOTE :: Please Give Your Comment and Like on Facebook