File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6932,11 +6932,11 @@ BEGIN
69326932
69336933 EXEC sp_executesql @insert_sql ;
69346934
6935- /* If the table doesn't have the new JoinKey computed column, add it. See Github #2162 . */
6935+ /* If the table doesn't have the new LastCompletionTime column, add it. See Github #2377 . */
69366936 SET @ObjectFullName = @OutputDatabaseName + N ' .' + @OutputSchemaName + N ' .' + @OutputTableName;
69376937 SET @insert_sql = N ' IF NOT EXISTS (SELECT * FROM ' + @OutputDatabaseName + N' .sys.all_columns
6938- WHERE object_id = (OBJECT_ID('' ' + @ObjectFullName + N ' '' )) AND name = '' JoinKey '' )
6939- ALTER TABLE ' + @ObjectFullName + N ' ADD JoinKey AS ServerName + CAST(CheckDate AS NVARCHAR(50)) ;' ;
6938+ WHERE object_id = (OBJECT_ID('' ' + @ObjectFullName + N ' '' )) AND name = '' LastCompletionTime '' )
6939+ ALTER TABLE ' + @ObjectFullName + N ' ADD LastCompletionTime DATETIME NULL ;' ;
69406940 EXEC (@insert_sql);
69416941
69426942
You can’t perform that action at this time.
0 commit comments