O
Size: a a a
O
ПО
O
ПО
O
O
O
ПО
O
ПО
НТ
НТ
y
А
"select id from table where x = 1" и "select id from table where y = 1"
"SELECT (select id from table where x = 1), (select id from table where y = 1)"
НТ
"select id from table where x = 1" и "select id from table where y = 1"
"SELECT (select id from table where x = 1), (select id from table where y = 1)"
А
AK
select isnull((select SUM(p.row_count) FROM Stg.sys.tables t with(nolock)висит из-за запроса -
join Stg.sys.dm_db_partition_stats p with(nolock) on p.object_id = t.object_id
where
t.name = 'MyTable'
and (p.index_id < 2)),0)
drop table if exists STG.OtherTableИз-за запроса либо truncate table != MyTable
IZ
select isnull((select SUM(p.row_count) FROM Stg.sys.tables t with(nolock)висит из-за запроса -
join Stg.sys.dm_db_partition_stats p with(nolock) on p.object_id = t.object_id
where
t.name = 'MyTable'
and (p.index_id < 2)),0)
drop table if exists STG.OtherTableИз-за запроса либо truncate table != MyTable
AK
НТ
SELECT (CASE WHEN difference_with_previous = 1 THEN number else NULL) AS 'Начальное число', (CASE WHEN shifted_difference = 1 THEN number else NULL) AS 'Конечное число' FROM tmp;