#val(x)# select ApplicationCode, ApplicationInstance, OwnerId, OwnerType, ParameterName, ParameterType, ParameterValue from tbl_APP_Configurations where parametername = '#i#' and ownerid > 0
--->