Hi,
I'd like to export data from MDS and include the latest transaction annotation. Since I have not found an easy way of doing this I wrote a fairly simple function (copied in below). I can now use this function as a table when fetching data from MDS views (using outer join).
Now I would like some feedback. Is this a reasonable way of doing this or did I miss out on something? One might think there should be functionality included in MDS for this but did I miss it? Is there another - much easier - way of doing it?
If not maybe someone will find this useful...
I'm using SQL Server 2012.
Best Regards,
Per