I have very large tables (back hand SQL SEVER). I have this code running fine.
I have PO header table is called pkko and I have PO details is called tkko, vdrnbr is coming from tkko.
Select PO, POdate, Itemdes, vdrnbr from pkko
INNER JOIN tkko
ON
pkko.po = tkko.po
when I run above pass through query it runs fine. When I run below query using condition then it give me error msg of "Timeout"
Select PO, POdate, Itemdes, vdrnbr from pkko
INNER JOIN tkko
ON
pkko.po = tkko.po
where vdr = '1230000'
why?