select Report_ID, User_ID from Reports2 where Report_ID in {Report_IDs} and (User_ID = :User_ID or :UserFull = 'A' or User_ID is null)
Generated by ABRA Software a.s. 27.10.2021 16:34:11