on 10-05-2017 4:59 AM
I need to achieve the following query for My cmd.
Select a.Name
From table-A a
Where a.msg like '%{?param}&"~"%'
Crystal report processes the query without syntax error but does not return any records.
The table has records in the msg column like g130~Mfger~
I am getting my user to input g130 through the prompt.
Could some one help me with the syntax pleas
I solved the problem by dropping the "&" sign now the report returns the exact # of records from the table. Modified where condition:
Where a.msg like '%{?param}~%'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply ,It's SQL 2012and crystal report is cr2013!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
Which database are you reporting against?
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.