Reputation: 47595
I don't see it as a reserved word, so why does ssms highlight in blue? I can
create table event
but it's disconcerting if it's highlighted in blue.
Upvotes: 2
Views: 213
Reputation: 4936
SQL Server has EVENT NOTIFICATIONs, which are a special kind of database object that sends information about server and database events to a Service Broker service. It's kind of like an asynchronous trigger.
Here's a blog post that shows how to use an EVENT NOTIFICATION to alert when a database has been backed up or restored.
Also, Colleen Morrow has many great articles about SERVICE BROKER on her blog.
Upvotes: 2