cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to execute 20 different oracle sql queries using oracle execute snap

Karthikgs
New Contributor

Hello Everyone,
Need your expert advise, I have 20 different set of sql queries running on the same table to generate the metrics, I am trying to run through them using Oracle execute but got error as โ€œresolution:
Reduce the fetch size in the database connection configuration and retry executing the pipelineโ€

Is there anyway I can run the sql queries one by one without running it as a bulk sql query. Below is my pipeline
Oracle_Snap

2 REPLIES 2

igormicev
Contributor

Hi @Karthikgs,

If youโ€™re selecting/generating data then the snap wonโ€™t support such a series of commands, but if the queries do update/delete/insert then you shouldnโ€™t have issues.

So in order to overpass it, you can introduce a separate โ€œPipeline Executeโ€ in which youโ€™ll be executing the passed queries and save the result into a table in Oracle. Lastly, just query out the table(s) with the generated results.

/Igor

Karthikgs
New Contributor

Thanks @igormicev for your advise, will try your solution, thanks again for your time and feedback.