Wednesday, 31 March 2021

Insert list of strings into temp table

create table #tempListOfThings ( thing varchar(50) )

INSERT INTO #tempListOfThings (thing) VALUES ('val1'), ('val2'), ...

No comments:

Post a comment

Comments are moderated, so you'll have to wait a little bit before they appear!