tags:

views:

45

answers:

1

IS there any way where we can handle the 10,000 character limit for SOQL

+2  A: 

I'm pretty sure you can't. According to this page at the bottom, it throws an error. Being that is an API, it's up to them.

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_soql_select.htm

SOQL statements can't exceed 10,000 characters. For SOQL statements that exceed this maximum length, the API returns a MALFORMED_QUERY exception code ; no result rows are returned.

ya.. it's a problem that's why i ask for a alternative ..
Priya
yep, you can't. Try to split the select into 2 queries? Maybe if we'd know what are you trying to achieve we can provide a better solution.
eyescream

related questions