Sunday, October 9, 2016



Name : Uday Shah - HOD (IT)
Contact No : 7600044051

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



NOTE :: Please Give Your Comment and Like on Facebook