One thing I thought about doing, but didn't to keep this simple, was to have the Sequence contain a link back to the UserTable if the Sequence was being used as a identity column for the table. Makes the check simpler at the expense of maintaining an extra field in the Sequence.
One thing I thought about doing, but didn't to keep this simple, was to have the Sequence contain a link back to the UserTable if the Sequence was being used as a identity column for the table. Makes the check simpler at the expense of maintaining an extra field in the Sequence.