on 02-08-2009 2:19 AM
Hi all,
I have a Bdoc parameter syntax related question.
I want to set a query bdoc parameter as below where TERRID is a parameter and
i want to pass sql like ...
****SQL****
WHERE TABLE1.NTERRID LIKE 'TERRID%'
***BDOC QUERY***
WHERE TABLE1.NTERRID LIKE :TERRID
Now when this BDOC query is actually executes it puts % in front as well sql looks like below
WHERE TABLE1.NTERRID LIKE '%TERRID%'
how do i change my boc query parameter syntax to have % only at the end of the parameter and not in front.
Thanks in advance
Hetal
Hi,
the generated SQL statement in a where clause is based on the match type of the related property of the Business Query object.
In your example it should be <MatchAdvanced> or <MatchAtBegin>.
Regards,
Wolfhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.