MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » December 2013

Re: Creating index



fixed

Create Index and Create View are two separate things. Create your view first and the query optimizer will determine if it can use any existing indexes or LFs to return the data efficiently and in the order you specify on the order by clause.

If it doesn't then you may have to create an index that it recommends.

If you haven't gotten into it, google for SQL Plan Cache iSeries Navigator.

Sam

On 12/26/2013 5:49 PM, Hoteltravelfundotcom wrote:
Hi Does one create an index via VIEW? I am not seeing how to do this.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact