Micosoft SQL Server 2005 check if temporary table empty
- by Kevin
Is there a fast/efficiency way to check if a table is empty?
DECLARE @StartEndTimes TABLE
(
id bigint,
StartTime datetime,
EndTime datetime
)
IF @StartEndTimes IS NOT NULL