I'm wondering what the advantages are to using DECLARE to create a table in memory versus CREATE #tmpTbl or even a SELECT...INTO #tmpTbl. I've used data type of table in functions that return a table but never like this in a proc. Anyone?
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply