#YYYY-MM-DD#).[Order Date]).Session/Application scope) — acquire it at the start of the request and close it at the end, so locks are held for the shortest possible time. See .devfoundry/references/asp-classic-framework.md for how the RouteKit DAL()/DatabaseConnection() pair already does this per-request.BeginTransaction/CommitTransaction/RollbackTransaction) so a lock conflict can't leave a partial write.3260 “Could not update; currently locked”, 3197, 3218 “Couldn't update; currently locked by another session”), retry with a short backoff (e.g. 3 attempts, increasing delay) before surfacing the error — do not retry silently forever.ALTER TABLE, bulk UPDATE/DELETE, Migrator_Class runs) during a maintenance window with no concurrent user traffic; table-level locking during DDL can starve concurrent requests even with retries.TOP n, IIF(), string concatenation with &LIMIT n, IFNULL(), string concatenation with ||TOP (n), ISNULL(), CONCAT()LIMIT n, COALESCE(), ||, boolean literals (TRUE/FALSE)Powered by TurnKey Linux.