Home Forums SQL Server 2008 SQL Server Newbies Select.. where column1 in (@var) RE: Select.. where column1 in (@var)
Ed Wagner
SSC Guru
Points: 287024
More actions
February 27, 2013 at 8:50 am
#1591592
I like Lynn's approach of splitting it inline and keeping it to a single query instead of using temp tables. Also, his function will be usable elsewhere.
Tally Tables - Performance PersonifiedString Splitting with True PerformanceBest practices on how to ask questions