MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 3 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: INDEX scan or Table Scan
pharia01

Replies: 4
Views: 2418

PostForum: Database   Posted: Fri May 25, 2007 5:15 pm   Subject: INDEX scan or Table Scan
Videlord,


based on the statistic information, if requested data are more than 25% of total records, DB2 optimizer will use table scan instead of index scan


just curious, where did you get ...
  Topic: Help in SQL Query
pharia01

Replies: 5
Views: 3051

PostForum: Database   Posted: Wed May 23, 2007 1:34 am   Subject: Help in SQL Query
Piscesian,

In this case, to be able to group by the derived column, refer to a sample example# 6 at http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNSQJ14/4.2.6?SHELF=&DT=20061213 ...
  Topic: Select with a few 'Left' Joins - need help with last join
pharia01

Replies: 14
Views: 6151

PostForum: Database   Posted: Sun May 20, 2007 4:08 pm   Subject: Select with a few 'Left' Joins - need help with last join
NASCAR9,

Try following untested query.


SELECT CHAR('321')
,CURRENT DATE ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group