SQL Server Database Fundamentals
Casual Mode - Take your time!
1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice
You want to track date and time of the last write access (INSERT, UPDATE) per row. How can you achieve that?
- Add a TIMESTAMP column to the table; SQL Server will automatically track date and time of every change.
- Add a DATETIME column to the table and assign getdate() as the default value.
- Add a DATETIME column to the table and write a trigger that sets its value.
- Add a UNIQUEIDENTIFIER column to the table and use it with SQL Server's built functions