Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
caz2
Contributor
Contributor

Where to input - Alter Session MULTI_STATEMENT_COUNT

I  am using tDBRow to query Snowflake but there are a couple of queries separated by semi colon. I know I need to set the MULTI_STATEMENT_COUNT to allow the multiple queries to run ok, but I don't know where to set it.

Is it in the snowflake connection tDBConnection and if so where? I tried it on Advanced Settings - Additional JDBC Parameters but it didn't like that statement.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello @Carolyn Foster​ ,

You can use 2 tDBRow components to achieve the goal.

In the first tDBRow , setup the MULTI_STATEMENT_COUNT parameter like the below

"alter session set multi_statement_count=0;"

0695b00000Z2wvOAAR.pngin the 2nd tDBRow, setup the multiple queries separated by semi like the below

0695b00000Z2wvTAAR.png 

 

View solution in original post

2 Replies
Anonymous
Not applicable

Hello @Carolyn Foster​ ,

You can use 2 tDBRow components to achieve the goal.

In the first tDBRow , setup the MULTI_STATEMENT_COUNT parameter like the below

"alter session set multi_statement_count=0;"

0695b00000Z2wvOAAR.pngin the 2nd tDBRow, setup the multiple queries separated by semi like the below

0695b00000Z2wvTAAR.png 

 

caz2
Contributor
Contributor
Author

Perfect - thank you