Commit for development environment setup

This commit is contained in:
2023-06-19 16:12:33 -04:00
parent be72063a3c
commit bbce2ad0a6
2209 changed files with 1171775 additions and 625 deletions

31
PROMS/SQL/aaLenRoFst.sql Normal file
View File

@@ -0,0 +1,31 @@
USE [VEPROMS]
GO
/****** Object: StoredProcedure [dbo].getRoFstSize Script Date: 01/20/2011 12:35:44 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
/*
getRoFstBySize 1,74928
*/
alter PROCEDURE [dbo].[getRoFstBySize]
(
@RODbID int,
@Len int
)
WITH EXECUTE AS OWNER
AS
select
[ROFstID],
[RODbID],
[ROLookup],
[Config],
[DTS],
[UserID],
[LastChanged],
(SELECT COUNT(*) FROM [Associations] WHERE [Associations].[ROFstID]=[ROFsts].[ROFstID]) [AssociationCount],
(SELECT COUNT(*) FROM [Figures] WHERE [Figures].[ROFstID]=[ROFsts].[ROFstID]) [FigureCount]
from [ROFsts]
where len(rolookup) = @len and [RODbID] = @RODbID
RETURN