Welcome to Sign in | Help

se poate optimiza in vreun fel .... sql server 2005

  •  01-07-2009, 12:50 PM

    se poate optimiza in vreun fel .... sql server 2005

    salut,

    Select b.ExternalCode, a.*, c.CodStare

    from tbl1 a,

    (select * from tbl2 union select * from tbl2_hist) b,

    tbl3 c

    where DataExecutiei = @Data

    and a.CodMesajOut = b.MessageCode

    and c.CodMesajOut = a.CodMesajOut

    and c.CodStare = 32

    and a.CodMesaj = 8

    Order by a.CodMesaj

     

    multumesc.

    alex.

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