How can I make the below change query dynamic for each table, I have my id column as common?

前端 未结 0 1607
囚心锁ツ
囚心锁ツ 2020-11-28 17:52
BEGIN TRANSACTION
 DECLARE @currentVersion bigint = (SELECT TOP 1 LastVersion FROM VersionTracking WHERE TableName=\'Test1\')
 DECLARE @newVersion bigint = CHANGE_TR         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题