Skip to content

Commit 98ca777

Browse files
authored
Merge pull request #30434 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 3604108 + 45a776d commit 98ca777

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/relational-databases/tables/manage-retention-of-historical-data-in-system-versioned-temporal-tables.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ DECLARE @historyTableSchema SYSNAME
248248
DECLARE @periodColumnName SYSNAME
249249

250250
/*Generate script to discover history table name and end of period column for given temporal table name*/
251-
EXECUTE usp_executesql
251+
EXECUTE sp_executesql
252252
N'SELECT @hst_tbl_nm = t2.name,
253253
@hst_sch_nm = s2.name,
254254
@period_col_nm = c.name
@@ -263,7 +263,8 @@ N'@tblName sysname,
263263
@schName sysname,
264264
@hst_tbl_nm sysname OUTPUT,
265265
@hst_sch_nm sysname OUTPUT,
266-
@period_col_nm sysname OUTPUT' @tblName = @temporalTableName,
266+
@period_col_nm sysname OUTPUT',
267+
@tblName = @temporalTableName,
267268
@schName = @temporalTableSchema,
268269
@hst_tbl_nm = @historyTableName OUTPUT,
269270
@hst_sch_nm = @historyTableSchema OUTPUT,

0 commit comments

Comments
 (0)