You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support optional table locking for SQL Server bulk loads
Add a connected-client control for SQL Server table locking during bulk loads, with safe identifier handling and compatibility coverage. This lets staging workflows opt into faster bulk loads while retaining explicit fallback, reset, and cleanup behavior.
let table = table.quoted_sql().replace('\'',"''");
346
+
347
+
format!(
348
+
"IF NOT EXISTS (SELECT 1 FROM sys.tables WHERE [object_id] = OBJECT_ID(N'{table}') AND [lock_on_bulk_load] = {expected}) RAISERROR('unexpected table lock on bulk load state', 16, 1);"
0 commit comments