on 11-16-2015 11:19 PM
Hello,
on the "Support Facility"-site I want to execute a query:
SELECT jd.Name, jdp.DefaultExpression from JobDefinition jd, JobDefinitionParameter jdp where jd.UniqueId=jdp.JobDefinition where jdp.Name='ABAP_PROGRAM_NAME'
That's working fine.
But I need only the left 8 characters of the DefaultExpression, but
SELECT jd.Name, SUBSTRING (jdp.DefaultExpression,1,8) from JobDefinition jd, JobDefinitionParameter jdp where jd.UniqueId=jdp.JobDefinition where jdp.Name='ABAP_PROGRAM_NAME'
doesn't work.
How can I manipulate the String "DefaultExpression" in the query?
Best regards
Dana
Hello Dana,
This is not possible. The query language used is compatible with the SQL92 syntax that does not contain a lot of function calls.
You can only manipulate the results of the query in Java later. When you run it from the Shell.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.