Query length

Posts   
 
    
orenpeled
User
Posts: 53
Joined: 25-Jul-2005
# Posted on: 17-Aug-2005 16:42:34   

Hi

I used to think that Oracle query-statements cannot exceed about 5,000 characters. I had defined a query containing almost 13,000 (!) characters with LLBLGen (a huge filterBucket), and I found out that it worked fine.

What am I missing?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 17-Aug-2005 16:53:46   

It might be that limit was on older oracle versions?

Btw, a query of 13KB, that's pretty huge simple_smile . You defined a large range predicate?

Frans Bouma | Lead developer LLBLGen Pro
orenpeled
User
Posts: 53
Joined: 25-Jul-2005
# Posted on: 18-Aug-2005 08:00:34   

At first I had a simple FieldCompareSetPredicate with two sub-selects with an OR in the middle, so in order to check the length issue I added the same sub-selects...not very smart I agree, but allowing to check the length issue.

I am now working with Oracle 10g, maybe that's why I had no problems with my large query?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 18-Aug-2005 10:36:21   

I'm not aware of a query length limit, so it should be ok simple_smile

Frans Bouma | Lead developer LLBLGen Pro