SBatSI
370 pts. | Jun 18 2009 5:47PM GMT
Silvarb -
I think you will get more help if you give us more information. Where specifically are you working in iSeries Navigator? What are you trying to accomplish?
Regards,
Steve B
WilsonAlano
2005 pts. | Jun 19 2009 9:18PM GMT
CWC,
Yes you can create a view to select records but a view can not be indexed.
Wilson
Cwc
3825 pts. | Jun 22 2009 2:18PM GMT
Yes, I am aware of that, so it would need a combination of a proper index and a view, so that the view could easily retrieve the records as specified in the criteria.
Graybeard52
2355 pts. | Jun 22 2009 5:04PM GMT
Cwc,
You do not need an index to select from a view - just use the “where” cluase to select. If you want better performance, run your query thru “Visual Explain” and build the indexes it suggests. The indexes will be over the PF and not the view.
Cwc
3825 pts. | Jun 23 2009 1:21PM GMT
Yes, I am aware of that as well - my point was that some type of index is needed, whether it’s an existing one that can be used, or if the system recommends another one, in order to efficiently access the data requested by the Select statement in the view.






