We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ErikEJ/SqlServer.Rules'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ExplicitRangeWindow.sql•370 B
Create Procedure dbo.ExplicitRangeWindow
as
SET NOCOUNT ON;
/* Default is Range UNBOUNDED PRECEDING ( Defining the frame )*/
select sum(TestTableSSDT.IdCol) over(partition by TestTableSSDT.Col1
order by TestTableSSDT.Col2
Range UNBOUNDED PRECEDING) as RollingBalance
from [dbo].[TestTableSSDT]
order by Col1,Col2;
-- SML025