with data as ( select distinct abbreviation as classificationAbbr, name as classification, classificationId from tbl_OPR_Classifications with (nolock) where ownerId = and ownerType = ) #forJSON( 'data', attributes.datastore, 'classification' )#