Professional Documents
Culture Documents
SQL 1
SQL 1
4. CONTAINS and CONTAINSTABLE look for an _______ match for the phrase.
A) exact
B) similar
C) different
D) none of the mentioned
Answer : A
______________________________________________________________________www.study2online.com
D) READ_COMMITTED_SNAPSHOT
Answer : D
______________________________________________________________________www.study2online.com
7. Which of the following statement removes database including its related components ?
A) DROP DATABASE
B) DELETE DATABASE
C) REMOVE DATABASE
D) None of the mentioned
Answer : A
______________________________________________________________________www.study2online.com
9. Which is the minimal permission that a user must have to drop the database ?
A) READ
B) WRITE
C) VIEW
D) CONTROL
Answer : D
______________________________________________________________________www.study2online.com
10. Which of the following statement removes sales and suppliers database ?
A) DROP DATABASE Sales, NewSales
B) DROP DATABASE Sales, suppliers
C) DROP DATABASE Sales and suppliers
D) DROP DATABASE Sales-suppliers
Answer : B
______________________________________________________________________www.study2online.com
D) Master
Answer : D
______________________________________________________________________www.study2online.com
______________________________________________________________________www.study2online.com
22. Which of the following index options are added by CREATE INDEX statement ?
A) XML INDEX
B) INCLUDED (column)
C) PARTITION SCHEME
D) ONLINE
Answer : D
______________________________________________________________________www.study2online.com
23. Point out the wrong statement with respect to ALTER INDEX statement :
A) Adds new format for specifying index and table names
27. Which of the following creates a new Microsoft Windows or SQL Server login account ?
A) CREATE LOGIN
B) DROP LOGIN
C) UPDATE LOGIN
D) REMOVE LOGIN
Answer : A
______________________________________________________________________www.study2online.com
B) DROP SYNONYM
C) ALTER SYNONYM
D) None of the mentioned
Answer : C
______________________________________________________________________www.study2online.com
34. Which of the following is proprietary extension of SQL for Microsoft SQL Server ?
A) PL-SQL
B) T-SQL
C) PG-SQL
D) P-SQL
Answer : B
______________________________________________________________________www.study2online.com
Answer : C
______________________________________________________________________www.study2online.com
37. Which of the following Statement ends one side of an existing conversation ?
A) Which of the following Statement ends one side of an existing conversation ?
B) END CONVERSATION TIMER
C) END CONVERSATION
D) GET CONVERSATION GROUP
Answer : B
______________________________________________________________________www.study2online.com
42. Which of the following language is used for procedural flow in SQL Server ?
A) Flow language
B) Control language
C) Control-of-flow language
D) None of the mentioned
Answer : C
______________________________________________________________________www.study2online.com
44. Which of the following two Transact-SQL statements are commonly used with WHILE ?
A) BREAK and CONTINUE
B) BREAK and IF
C) IF and ELSE
D) All of the mentioned
Answer : A
______________________________________________________________________www.study2online.com
45. Which of the following scenario makes use of BEGIN..END keyword redundant ?
A) when an IF statement controls the execution of multiple Transact-SQL statement
B) when an IF statement controls the execution of only one Transact-SQL statement
C) when an IF statement controls the execution of one or more Transact-SQL statement
D) None of the mentioned
Answer : B
______________________________________________________________________www.study2online.com
49. Which of the following keyword is not associated with initialization of variable ?
A) DECLARE
B) SET
C) SELECT
D) All of the mentioned
Answer : D
______________________________________________________________________www.study2online.com
A) @@CPU_BUSY
B) @@CPU_IO
C) @@CPU
D) @@CPU
Answer : A
______________________________________________________________________www.study2online.com