От: | zverjuga | ||
Дата: | 15.11.17 16:25 | ||
Оценка: |
declare @value int
set @value = xxx
select t1.*
from Table t1
join Table2 t2 on (t2.field = t1.field)
where t1.field = @value
declare @value int
set @value = xxx
select t1.*
from Table t1
join Table2 t2 on (t2.field = @value)
where t1.field = @value