Is it possible to add index to a temp table? And what's the difference between create #t and declare @t Is it possible to add index to a temp table? And what's the difference between create #t and declare @t sql sql