USE [FabApprovalSystem] GO /****** Object: StoredProcedure [dbo].[ECNGetProductFamilies] Script Date: 11/21/2024 11:29:04 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[ECNGetProductFamilies] AS BEGIN SELECT ProductFamilyID, ProductFamily + CASE WHEN Inactive = 1 THEN ' (INACTIVE)' ELSE '' END AS ProductFamily, Inactive FROM ProductFamilies ORDER BY ProductFamily END GO