View Single Post

   
  #1 (permalink)  
Old 04-18-2008, 01:22 PM
Carlos Benkendorf
 
Posts: n/a
Default Improving performance of a query

Hi,

Is there a way to improve the performance of the following query?

SELECT * FROM SSIRRA where
(YEAR = 2004 and CUSTOMER = 0000000004 and CODE = 00 and PART >= 00) or
(YEAR = 2004 and CUSTOMER = 0000000004 and CODE > 00) or
(YEAR = 2004 and CUSTOMER > 0000000004) or
(YEAR > 2004)

Thanks in advance!

Benkendorf


__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/
Reply With Quote