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 > Maximum number of tables in join and left join

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-09, 05:18
AngieP AngieP is offline
Registered User
 
Join Date: Jul 2009
Posts: 3
Unhappy Maximum number of tables in join and left join

Hello everyone!

Does anybody knows which is the maximum number of tables that I can use in a join in DB2 (v9.5)?

I have to run a query with 25 tables and I know that in Oracle I can use only 6 in a join.

Note that particularly all of those tables have thousands (some of them hundreds) of rows..!

Thank you in advance,
Aggeliki
Reply With Quote
  #2 (permalink)  
Old 07-23-09, 07:19
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Search the online documentation for "SQL Limit". By the way, I think you are mistaken about Oracle allowing only 6 joined tables...
Reply With Quote
  #3 (permalink)  
Old 07-23-09, 07:45
AngieP AngieP is offline
Registered User
 
Join Date: Jul 2009
Posts: 3
Thank you, I will look for it.

I have to agree with you...I migth be wrong about Oracle...
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