I have a named query that returns values for all columns in the query editor. If I try to run the named query in a script using system.db.runNamedQuery, it returns no rows. There are no parameters and it was working earlier today.
Is this a known bug?
select UPPER([user_id]) as racfId,
prsn_id,
last_nm as last_name,
frst_nm as first_name,
mid_init_txt as middle_initial,
up_case_emp_num as employee_num,
title_txt as title,
addr_txt as addr_line1,
ofce_txt as office_loc,
city_txt as addr_city,
st_txt as addr_state,
zip_cd_txt as addr_zip,
cntry_nm as addr_country,
phn_num as phone_num,
mobile_phn_num as cell_phone_num,
email_txt as email,
substring(unit_key_cd,1,2) as unit,
chrg_dept_cd as department,
mgr_user_id as manager
from edl_current.people_and_org_prsninfoutf8_prsn_info_utf8
Do you happen to have a named query in a folder with the exact same name as a named query at the root? Strange things can occur in that case, because of a recently fixed bug.