dbTalk Databases Forums  

what is the limitation of the query when error 3360(query toocomplex) appear

comp.databases.ms-access comp.databases.ms-access


Discuss what is the limitation of the query when error 3360(query toocomplex) appear in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
thread
 
Posts: n/a

Default what is the limitation of the query when error 3360(query toocomplex) appear - 11-26-2007 , 03:04 AM






Hi all
I tried to seperate my query update im order to define what is the
limitation for the field
becaouse i know that it is limiting for 1024 characters but i see that
can update more characters(for now checked 2000 and it works too)
so what is the limit for the field?doesnt the field name is counted or
not when giving the limitation
please advice

Reply With Quote
  #2  
Old   
Allen Browne
 
Posts: n/a

Default Re: what is the limitation of the query when error 3360(query too complex) appear - 11-26-2007 , 08:21 AM






The theoretical limit for the number of characters in a SQL statement in
Access is around 64k. There are some other limits, such as if you use the
builder, or try putting a SQL statement in a macro (e.g. under RunSQL.)

The "too complex" error is a very generic one. Sometimes it can represent a
genuine limit, e.g. you have too many SELECTs in a UNION, or more than 100
ANDs in a WHERE clause, or queries nested more than 50 levels deep.

More often, it just means Access can't make sense of the query statement.
For example, you may have mismatched brackets, or field/table names that are
reserved words. It can be as basic as applying the wrong data type for your
criteria (e.g. omitting the # around literal dates.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"thread" <yaniv.dg (AT) gmail (DOT) com> wrote

Quote:
Hi all
I tried to seperate my query update im order to define what is the
limitation for the field
becaouse i know that it is limiting for 1024 characters but i see that
can update more characters(for now checked 2000 and it works too)
so what is the limit for the field?doesnt the field name is counted or
not when giving the limitation
please advice


Reply With Quote
  #3  
Old   
thread
 
Posts: n/a

Default Re: what is the limitation of the query when error 3360(query toocomplex) appear - 11-26-2007 , 11:53 AM



for now i set my own limitiation for 2000 characters per field and the
rest are been cut to seperate components(means if you have x+y+z,it
will be devided to x,y,z for seperate update) and it works ok.i
thought there is more specific definition to the limitation but i
understand from you that its vary

On 26 *ובמבר, 15:21, "Allen Browne" <AllenBro.... (AT) SeeSig (DOT) Invalid>
wrote:
Quote:
The theoretical limit for the number of characters in a SQL statement in
Access is around 64k. There are some other limits, such as if you use the
builder, or try putting a SQL statement in a macro (e.g. under RunSQL.)

The "too complex" error is a very generic one. Sometimes it can represent a
genuine limit, e.g. you have too many SELECTs in a UNION, or more than 100
ANDs in a WHERE clause, or queries nested more than 50 levels deep.

More often, it just means Access can't make sense of the query statement.
For example, you may have mismatched brackets, or field/table names that are
reserved words. It can be as basic as applying the wrong data type for your
criteria (e.g. omitting the # around literal dates.)

--
Allen Browne - Microsoft MVP. *Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"thread" <yaniv... (AT) gmail (DOT) com> wrote in message

news:bb519b52-ddc9-4a6f-924a-0cd6eba4831c (AT) j20g2000hsi (DOT) googlegroups.com...



Hi all
I tried to seperate my query update im order to define what is the
limitation for the field
becaouse i know that it is limiting for 1024 characters but i see that
can update more characters(for now checked 2000 and it works too)
so what is the limit for the field?doesnt the field name is counted or
not when giving the limitation
please advice-הסתר טקסט מצוטט-

-הראה טקסט מצוטט-


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.