Hi *!
SELECT b.*
FROM ktbt bt
LEFT OUTER JOIN fk_buf_tet b ON b.alrkod = 'KT' AND
((b.alrsor = bt.id) OR (b.alrsor = bt.st_id)) AND
b.gysor = 1 AND
b.gytip = 'A'
WHERE bt.id = 59747636 AND
b.tabla = 'FK_TETEL'
This is fast with OuterJoinConversion = false, and slow with true.
I can send the database on request.
Thank you!
Hi *!
This is fast with OuterJoinConversion = false, and slow with true.
I can send the database on request.
Thank you!