I have a temp table called #tmp (id int, name varchar(4)) I want to insert these above comma delimited values in this temp table. So 1 has corresponding value = NY, 2 has NJ etc...so total 5 rows will be inserted. Can u tell me the best way to code that?