Welcome to Sign in | Help

Re: Select ultimele valori

  •  04-16-2008, 1:25 PM

    Re: Select ultimele valori

    Sunt aproximativ 300000 de inregistrari.
    Indecsi sunt pe tabel (este vorba de un singur tabel) : cod, data, cod+data, pk_key (primar. clustered)
    Numai daca nu gasesc o alta solutie o sa mai fac 2 campuri.
    In execution plan am un Index Scan de 74% pe  indexul primar (pk_key)  pentru expresia  SUBSTRING(cod,1,2)=@comp si un Index Seek pe indexul de data.

    Sorin Sandu
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems