I'm trying to call a procedure from the URL from APEX, and I need the parameter's name to preserve the given case. For some reason I'm getting all the names in lower case and not as I wrote them.
For example:
<MyHost>/ords/!schema.procedure?PARAM1=value1&paRam2=VALUE2&Param3=Value3
But I'm getting the following:
param1=value1¶m2=VALUE2¶m3=Value3
As you can see, all the names have been changed to lowercase and I have not requested such change.
Is it something related to the way the ORDS is configured? Could this be re-configured?
Thanks a lot for your time an answer.
Related
I have a stored procedure in the database, this stored procedure returns a table with the columns deviceId, operatorId, serialNumber, status, tailId, lastCheckIn, lastDownload, filename. Really what I want to do is to grab from the result, all the instances that have a deviceId, that is contained in a list that is defined on the side. There are 2 ways I came up to solve this.
The first one, which is the one that is the most straightforward to me is using the #query annotation, and running another query on the resultant table of that stored procedure. Thing is, the examples that I found online are more inclined towards passing in parameters to the stored procedure, instead of running a query with the results of it. I just want to know if my first idea is valid and how to execute it if so. The second one is to pass in the list as a parameter, but not exactly sure how to manipulate it in the stored procedure or if it's able to interpret this structures at all.
The list that I want to compare to the deviceId columns is of type <List<UUID>>. And to give more context on my enviroment, I'm working with Azure SQL DB's.
Thanks.
Is it possible to pass table as input parameter in Monetdb function/procedure?
I tried prepare statement but was not able to get it working.
Also it would be nice to get statementid returned directly by 'prepare' statement rather then query sys.prepared_statements
No, you cannot pass (table) identifiers to functions/procedures.
You could use this trick, but I wouldn't recommend it for production use.
We are trying to create a dynamic query subject filter. To do this, we are trying to nest an Oracle user-defined function inside of a macro.
Example query subject filter:
#strip(ORACLE_USER_DEFINED_FUNCTION())#
We have imported the oracle function ORACLE_USER_DEFINED_FUNCTION into Framework Manager. The function returns a VARCHAR2 of the desired expression. For testing purposes, this function is simply returning VARCHAR2 value of '1=1' (the single quotes are not part of the VARCHAR2 return value).
The idea being that we want the query subject filter expression to be dynamically generated at run-time so the resulting query contains '...WHERE 1=1'. The strip macro is the mechanism to pre-process and invoke the user-defined function before the query is sent to the database.
However, when attempting to verify/check the query subject filter we receive the following error.
XQE-GEN-0018 Query Service internal error has occurred, please see the log for details.
I'm trying to get a hold of the query service log, but don't yet have it.
Perhaps there is some casting needed to convert the oracle VARCHAR2 output from the function to an IBM/Cognos string that is acceptable input for the IBM/Cognos macro.
Your assistance is appreciated. Thanks in advance.
Using Oracle 12c and Cognos 11.1.
With the exception of the queryValue macro function, macros are evaluated prior to accessing the database. This means the macro does not know what the Oracle UDF is or what its supposed to do. If you are able to call the UDF via a FM query subject you maybe able to get away with something similar to the queryValue answer found here:
Cognos 11.1.7 Framework manager change the table for the query subject, type data
Im looking at the documentation for FHIR v1.6 Procedure and it looks like its possible to search by date.
My scenario is this:
My Procedure's can have a performedDatetime value (for complete procedures) i.e. status=completed
Or my Procedure can have a status of in-progress, in which case it will not have a defined performedDatetime value.
I know how to sort these procedures by performedDatetime using:
https://{{baseUrl}}/fhir/Procedure?_sort:desc=date
But is it possible to search for those procedures that dont have a performedDateTime?
I have been trying it this way:
https://{{baseUrl}}/fhir/Procedure?date:missing=false
But this still returns all results.
https://{{baseUrl}}/fhir/Procedure?date=NULL
Throws an error on the server.
What am I missing here?
https://{{baseUrl}}/fhir/Procedure?date:missing=false
that's the right URL and it should work - guess you're going to have to report a bug on the server (may it not be mine!)
I am trying to build an url to make the job of going to the SSRS page a bit faster and to eliminate all the input a user has to do (he already did it in an other program.
When I use this url:
http://localhost/ReportServer/Pages/ReportViewer.aspx?/folder/subfolder/reportname&rs:Command=Render&customerId=1000002
I can't fill out the parameter that has query where the default values of the parameters are found in the database, when i remove the query behind the parameter the textbox is filled out and the report is working as expected, i am sure the value of custimerId is in the database
How can I solve this?
I found it.
Data i got back from the database contained some trailing spaces. After removing those it worked like a charm.