Viewing 4 posts - 1 through 4 (of 4 total)
what about
select Employeeid, effectivedate
where effectivedt between ....
union all
select employeeid , max(effectivedate)
from table
group by employeeid
having max(effectivedate) < fromdate
December 27, 2005 at 4:56 am
if you add the object event class
to the trace,
you can see creation and deletion of tables in tmpdb.
without executing [use tempdb]
hope that helps
December 7, 2004 at 6:04 am
try
If Select ( isnumeric(@SPID) ) = 0
Begin
PRINT 'Select all'
select SPID, KPID, cpu, physical_io, cmd, nt_username, memusage, WAITTIME, LASTWAITTYPE, hostname, program_name, login_time,open_tran, status from sysprocesses
...
October 28, 2004 at 1:47 am
Viewing 4 posts - 1 through 4 (of 4 total)