Solved

Auditing with Temporal Tables

Posted on 2016-11-22
4
34 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 28

Accepted Solution

by:
Pawan Kumar earned 250 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 28

Assisted Solution

by:Pawan Kumar
Pawan Kumar earned 250 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 250 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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