Q. Three-tier architecture include.

  • (A) Server client & middle tier
  • (B) Server middle tier
  • (C) Client middle tier
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) Server client & middle tier

Q. SQL server 2005 supports fields line

  • (A) Varchar
  • (B) Navarchar
  • (C) Varbinary fields
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Q. Exact Numeric data type is ___________

  • (A) bigint
  • (B) int
  • (C) smallmoney
  • (D) all of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) all of the mentioned

Q. ntext data type falls under which category?

  • (A) Exact numerics
  • (B) Character strings
  • (C) Unicode character strings
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) Unicode character strings

Q. You want to track date and time of the last write access per row. Select the suitable option among the below.

  • (A) Add TIMESTAMP column to the table
  • (B) Add a DATETIME column to the table and assign getdate() as the default value
  • (C) Add a DATETIME column to the table and write a trigger that sets its value
  • (D) Add a UNIQUEIDENTIFIER column to the table and use it with SQL Server’s built-in functions
πŸ’¬ Discuss
βœ… Correct Answer: (A) Add TIMESTAMP column to the table

Q. ________ is a spatial data type.

  • (A) geometry
  • (B) sql_variant
  • (C) cursor
  • (D) all of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) sql_variant

Q. _____________ is monetary data type in SQL Server.

  • (A) Smallmoney
  • (B) sql_variant
  • (C) Cursor
  • (D) None of the Mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) Smallmoney

Q. Which of the data type has a storage size of 8 bytes?

  • (A) timestamp
  • (B) uniqueidentifier
  • (C) real
  • (D) smallmoney
πŸ’¬ Discuss
βœ… Correct Answer: (A) timestamp

Q. ______________ function returns current date and time.

  • (A) SET DATEFIRST
  • (B) SYSDATETIME
  • (C) Cert_ID
  • (D) GETDATE
πŸ’¬ Discuss
βœ… Correct Answer: (D) GETDATE

Q. Which of the following function checks whether the expression is a valid date or not?

  • (A) ISDATE
  • (B) ISDAY
  • (C) ISVALID
  • (D) ISYEAR
πŸ’¬ Discuss
βœ… Correct Answer: (A) ISDATE