SQL Server Service Broker was introduced in Microsoft SQL Server 2005 and this article suggests several uses, the most significant of which is probably the ability to do asynchronous processing. Service Broker might be seen as the database equivalent of Microsoft Message Queuing. In this scenario, a synchronous process can put a message on a queue and then complete immediately (i.e. return control to the user). A separate process can then take this message off the queue and perform some[...]
Several techniques are often deployed in well-designed databases to minimise the amount of invalid data. Common ones include: Check Constraints– checks that can be made on a single row in a single table, for example: StartDate <= EndDate Height > 0 Age < 199 Unique Indexes– to make sure we don’t have duplicate entries in a table, for example: National Insurance Number Car Registration Number Triggers – a last resort for cases where “it’s complicated” or we have to check[...]