Skip to content

Commit

Permalink
Merge 23.11 to 24.3
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-teamcity committed May 20, 2024
2 parents 7ec6326 + c721671 commit be7ce8a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ ALTER VIEW [labkey_etl].[V_VALID_ACCOUNTS] AS
-- Create date: 3/3/2016
-- Changes:
-- 11/14/2016 added modified, modifiedby, created, and createdby columns tjh
-- 5/16/2016 check for blanks in description column tjh
-- ==========================================================================================

SELECT
va.account,
va.status AS accountStatus,
va.ori_date AS date,
va.close_date AS enddate,
CASE WHEN va.description IS NULL
CASE WHEN va.description IS NULL OR LTRIM(va.description) = ''
THEN 'Description is missing'
ELSE va.description END AS description,
CASE WHEN va.account_group IS NULL
Expand All @@ -47,7 +48,6 @@ FROM dbo.valid_accounts AS va

GO


GRANT SELECT ON labkey_etl.V_VALID_ACCOUNTS TO z_labkey

GO

0 comments on commit be7ce8a

Please sign in to comment.