Q. In SQL Server 2012 how many types of checkpoints there?

  • (A) 6
  • (B) 5
  • (C) 4
  • (D) 3
πŸ’¬ Discuss
βœ… Correct Answer: (C) 4

Q. Every database has one primary data file. We can give any extension for the primary data file but the recommended extension is?

  • (A) .pdf
  • (B) .ldf
  • (C) .ndf
  • (D) .mdf
πŸ’¬ Discuss
βœ… Correct Answer: (D) .mdf

Q. Which extents are made up of only single object?

  • (A) single
  • (B) double
  • (C) uniform
  • (D) mixed
πŸ’¬ Discuss
βœ… Correct Answer: (C) uniform

Q. Each log record is identified by Log Sequence Number (LSN).

  • (A) TRUE
  • (B) FALSE
  • (C) Can be true or false
  • (D) Can not say
πŸ’¬ Discuss
βœ… Correct Answer: (A) TRUE

Q. Which of the following prepare the execution plan as output by taking query, statistics and Algebrizer tree as input?

  • (A) Query Optimizer
  • (B) Query Executor
  • (C) Execution Plan
  • (D) Query Parser
πŸ’¬ Discuss
βœ… Correct Answer: (A) Query Optimizer

Q. The recommended extension for log file is ?

  • (A) .rdf
  • (B) .udf
  • (C) .ldf
  • (D) .idf
πŸ’¬ Discuss
βœ… Correct Answer: (C) .ldf

Q. Which of the following is not a aggregate function ?

  • (A) Avg
  • (B) Sum
  • (C) With
  • (D) Min
πŸ’¬ Discuss
βœ… Correct Answer: (C) With

Q. Which of the following SQL clauses is used to DELETE tuples from a database table ?

  • (A) CLEAR
  • (B) DROP
  • (C) REMOVE
  • (D) DELELTE
πŸ’¬ Discuss
βœ… Correct Answer: (D) DELELTE

Q. With SQL, how can you return the number of not null records in the "Persons table ?

  • (A) SELECT COUNT(*) FROM Persons
  • (B) SELECT COLUMNS(*) FROM Persons
  • (C) SELECT COLUMNS() FROM Persons
  • (D) SELECT COUNT() FROM Persons
πŸ’¬ Discuss
βœ… Correct Answer: (D) SELECT COUNT() FROM Persons

Q. SQL query to find the temperature in increasing order of all cities.

  • (A) SELECT city FROM weather ORDER BY temperature
  • (B) SELECT city, temperature FROM weather
  • (C) SELECT city, temperature FROM weather ORDER BY temperature
  • (D) SELECT city, temperature FROM weather ORDER BY city
πŸ’¬ Discuss
βœ… Correct Answer: (D) SELECT city, temperature FROM weather ORDER BY city