adplus-dvertising
frame-decoration

Question

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

Posted under SQL Server

Answer: (a).Add TIMESTAMP column to the table

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. ________ is a spatial data type.

Q. Which of the following data type is not present in SQL Server?

Q. ______________ is monetary data type in SQL Server.

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

Q. ______________ function returns current date and time.

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

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

Q. @@NESTLEVEL function falls under which of the following category?

Q. __________ are used for supporting encryption, decryption, digital signing and their validation.

Q. DecryptByKeyAutoCert is ________________ type function.

Q. Text and Image Functions are ___________

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

Q. ______________ returns the rank of rows within the partition of a result set, without any gaps in the ranking.

Q. Built in Functions in SQL Server is categorized into how many categories?

Q. Which SQL function is used to count the number of rows in a SQL query?

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

Q. ___________removes all rows from a table without logging the individual row deletions.

Q. Which of the following is not a DDL command?

Q. Which of the following are TCL commands?

Q. ________________ is not a category of SQL command.