If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Create View Problem..

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-07-05, 06:31
ryltech ryltech is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
DB2 Create View Problem..

Hello,

I have created a view in DB2 which runs fine on my version of DB2 which runs on a windows machine.

When i then try to run this same create view statement in iSeries (AS400) it comes back with the following error:

[SQL0101] SQL statement too long or complex.

The statement contains 4 sub selects and 8 joins. There seems to be a difference between the Windows versionand the iSeries...

Can anyone help?
Reply With Quote
  #2 (permalink)  
Old 11-07-05, 09:14
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
sql101

It can be related to the statement heap size.. check this out..
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On