Viewing 2 posts - 1 through 3 (of 3 total)
This is what I did.
I am sure there is more efficient way to do this though.
if object_id ('tempdb..#Temp') is not null
drop table #temp
if object_id ('tempdb..#Temp1') is not null
drop table #temp1
if...
May 29, 2016 at 9:56 am
#1881944
I thought it worked but it didn't. I used cross apply and then created two new temp table that didn't have time in the resulting table from cross apply, and...
May 29, 2016 at 8:59 am
#1881940