I’ve got a view that’s a union of two tables that have overlapping keys and I want to uniquely identify the rows for later retrieval. How can I add an identity or identifier column to the view rows so I can retrieve the rows later by that value?
Share
I wound up using a uniqueIdentifier field defaulted to NewID() and then populated the archive and current tables with GUIDs.