Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!
The Product Idea boards have gotten an update to better integrate them within our Product team's idea cycle! However this update does have a few unique behaviors, if you have any questions about them check out our FAQ.

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

SQL: IN Statement (1000 limit Oracle) and Character limit for In Clause relationship

I am using an Excel worksheet as input to get detailed information from a database for each cell.  Using the Dynamic input tool I set the character limit to 12000 based on each cell containing 10+(comma+string quote) characters.  This worked fine till the 1000 limit encountered where some cells could have less than 10 characters and some cells could have over 10 characters.

 

" Error: ORA-01795: maximum number of expressions in a list is 1000".  

 

 

The data is accessed using a read id and cannot insert into a table and then use in IN Statement.

(Select * from table_info where key in (select key from list_table) -->unlimited

vs 

(Select * from table_info where key in ('ABCDEFGHIJ','ABCDEFGHIJKL','ABC',..........)  -->String limitation and then Ora-01795.

 

The limit should be based on the Database limitation and not on number of string characters and the tool should be smart enough to build the In Statement based on the connection established.  Please fix.

2 Comments
jsuptic
7 - Meteor

Based on what you are saying, I am wondering if Alteryx is assuming it is a CSV and then creates a row for each string after a comma. Also, you did not mention how many rows your Excel worksheet had. If it has over 1000 rows, then this is failing on the DB side not the Alteryx side.

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team
Status changed to: Accepting Votes