Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The statement is too long or too complex

Status
Not open for further replies.

arunrathna

Programmer
Apr 27, 2001
20
IN
I work on an application where the whole business logic is present in database views. The views dont merely represent the table, but has complex SQL statements, calling other views, which call other views. The views became very big and I ended up getting this error message 'The statement is too long or too complex'. This error comes when I access the view which calls a series of views in chain. Is there any database settings that I can change to increase the maximum length of a SQL statement or something like that??

Rathna.
 
try increasing the statement heap size and application heap size of your database..

Go to control center select your database right click and select configure. Salih Sipahi
Software Engineer.
City of Istanbul Turkey
openyourmind77@yahoo.com
 
Thanx for ur reply. It worked after increasing the heap size.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top