How do I do batch upserts in SQL Server?

Posted by Dmitri Nesteruk on Stack Overflow See other posts from Stack Overflow or by Dmitri Nesteruk
Published on 2010-05-27T18:54:04Z Indexed on 2010/05/28 0:51 UTC
Read the original article Hit count: 304

I'm using the MERGE statement to upsert rows in an sql server 2008 database. However, my sproc is a single-row operation, whereas in fact I'd prefer to batch these. Is this even possible and, if so, how do I do it?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about sql-server-2008