Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Auditing with Temporal Tables

Posted on 2016-11-22
4
Medium Priority
?
68 Views
Last Modified: 2016-12-04
hi experts

i am reading about Auditing with Temporal Tables in https://msdn.microsoft.com/en-gb/library/dn935015.aspx

I could provide some good articles to go deeper into the subject

why, Temporal tables limitations?
User tracking requires adding a column to the table to hold SUSER_SNAME
0
Comment
Question by:enrique_aeo
  • 2
4 Comments
 
LVL 35

Accepted Solution

by:
Pawan Kumar earned 1000 total points
ID: 41898376
There is a excellent video to deep dive in Temporal Table introduced in SQL 2016..

https://www.youtube.com/watch?v=t2baJaomY4o

A good article by David-http://www.slideshare.net/davidemauri/sql-server-2016-temporal-tables
0
 

Assisted Solution

by:enrique_aeo
enrique_aeo earned 0 total points
ID: 41898381
What does this mean
User tracking requires adding column to SUSER_SNAME table
0
 
LVL 35

Assisted Solution

by:Pawan Kumar
Pawan Kumar earned 1000 total points
ID: 41898407
This means you have to attach another column lets say "UserNm" which will have value of SUSER_SNAME(). SUSER_SNAME() will give you the Domain\UserName which will be used for tracking.
0
 
LVL 4

Assisted Solution

by:Daniel Jones
Daniel Jones earned 1000 total points
ID: 41898531
You can also take the help of this link: http://www.sqlmvp.org/create-temporal-table-in-sql-server-2016/
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question