SQL Server, using a table as a queue

前端 未结 5 1621
情深已故
情深已故 2021-01-02 20:34

I\'m using an SQL Server 2008 R2 as a queuing mechanism. I add items to the table, and an external service reads and processes these items. This works great, but is missing

5条回答
  •  死守一世寂寞
    2021-01-02 21:17

    "since SQL Server 2005 introduced the OUTPUT clause, using tables as queues is no longer a hard problem". A great post on how to do this.

    http://rusanu.com/2010/03/26/using-tables-as-queues/

提交回复
热议问题