Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- Migration: 043_CreateResetPartialSearchesProcedure
|
||||
-- Source: OLD/Database/StoredProcedures/ResetPartialSearches.sql
|
||||
-- Resets searches that were started but not completed (cleanup after crash)
|
||||
|
||||
CREATE OR ALTER PROCEDURE [dbo].[ResetPartialSearches]
|
||||
AS
|
||||
BEGIN
|
||||
-- Reset status and start timestamp for searches begun but not finished
|
||||
UPDATE dbo.Search
|
||||
SET Status = 1,
|
||||
StartDT = NULL
|
||||
WHERE StartDT IS NOT NULL
|
||||
AND EndDT IS NULL;
|
||||
END
|
||||
GO
|
||||
Reference in New Issue
Block a user