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: 
_AnonymousUser
Specialist III
Specialist III

how to call a sql inside java routine

I am writing a java function that computes 4 business days from current date but excludes holidays and weekends.
My date_dim table stores holidays and weekend information. I have sql's to check if it's holiday or if it's
weekend. How to use date_dim information inside my java routine?
Labels (3)
1 Reply
Anonymous
Not applicable

Hi
You might get the holidays and weekend information by using DB components. Then save them into an java Array or some other data pattern in tJava and pass them into this java function.
It shouldn't be hard if you are familiar with Java programming.
Regards,
Pedro