برای حذف جداول Temporal از دیتابیسهای SQL از قطعه کد زیر استفاده نمایید:
DECLARE @temporalTable VARCHAR(150), @historyTable VARCHAR(150), @schemaName VARCHAR(150);
SET  @temporalTable = 'TransactionRequests';
SET @schemaName = 'lnkir_ipg_user';
/* Find the history table */
SELECT @historyTable = OBJECT_NAME(history_table_id) 
    FROM sys.tables WHERE name = @temporalTable;
 
/* If yes alter the current table and switch off system versioning */
EXEC('ALTER TABLE ['+ @schemaName +'].[' + @temporalTable + '] SET (SYSTEM_VERSIONING = OFF)');
 
/* Drop the current table */
EXEC('DROP TABLE ['+ @schemaName +'].[' + @temporalTable + ']');
 
/* Drop the history table */
EXEC('DROP TABLE ['+ @schemaName +'].[' + @historyTable + ']');