Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

LIKE operator with parameters in Report Builder 3.0

$
0
0

My issue involves Report Builder 3.0 using data from an Oracle database.  I need to use the LIKE operator with an input parameter by which the user specifies what data s/he needs to see.  I researched the forum this morning, and found a thread dating back about 3 years that appeared might have several possible solutions to my problem.  I tried implementing them one-at-a-time, yet my problem is not resolved.  I'm wondering if the fact we're using Report Builder 3.0 may be the reason?

Here is the code exactly as it stands right now (reminder that this is Oracle SQL):

SELECT    t1.student_id,
               t1.student_name,
               t1.date_of_birth,
               t1.sex_code,
               t1.resident_state,
               t1.sel_serv_number
FROM       sp_reporting.sdm085 t1
WHERE     t1.student_name LIKE '%'||:partname||'%'
ORDER BY t1.student_name

The query (apparently) executes just fine, i.e., it reports no errors.  Neither does it return any data.

I have tested what is effectively the same query in Oracle SQL Developer, and datasets are well-populated.

Does anyone have a current solution for this?

Thanks!


Viewing all articles
Browse latest Browse all 24955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>