Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

passing constant value to a DB function

Hi ,

 

I have a DB function which takes two parameters, one is the count and other is constant string(hard coded value). Count variable is calculated from tAggregateRow component which i can pass it to DB function in tOracleSP component (attached for reference). But how do i pass a constant string value as second parameter. Please suggest!!

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

As soon as you need it in your schema, you don't have choice, you may change tMap by tJavaRow but it's not really different. You may also use tFilterColumns to add a column by you need something else to populate it.

View solution in original post

4 Replies
TRF
Champion II
Champion II

Add something like a tMap after tAggregateRow to add the missing column to your schema with the expected value
Anonymous
Not applicable
Author

Hi,

Thanks for response, i would like to avoid using tMap component just to
create a constant string field. Any other way to pass a hard coded string
to a procedure/function?
TRF
Champion II
Champion II

As soon as you need it in your schema, you don't have choice, you may change tMap by tJavaRow but it's not really different. You may also use tFilterColumns to add a column by you need something else to populate it.

Anonymous
Not applicable
Author

 

Thank you, will work on it