SYSTEM_VERSION
How do I check the metadata of my temporal table?
There was an interesting question recently about checking whether a table had been created with
DATA_CONSISTENCY_CHECK, if theSYSTEM_VERSIONoption was set, and how to find the name of the historical tables.First up,
DATA_CONSISTENCY_CHECK.I have finished studying A LOT on temporal tables for my 70-761 and I knew most of the answers off the top of my head. The question regarding
DATA_CONSISTENCY_CHECKand seeing if that value persisted anywhere was a head scratcher though. It seemed no one had asked a question in that way before and I did not find any links or articles that talked about that aspect.