how to create a notification?

  • Thread starter Thread starter xum
  • Start date Start date
X

xum

my sql is:
CREATE EVENT NOTIFICATION mytestqueue
ON DATABASE
FOR DDL_DATABASE_LEVEL_EVENTS
TO DATABASE northwind

but error message is:
Incorrect syntax near 'northwind'.

how to do? thanks!!!
 
I don't know much on events, but are you sure that the statament is
correct - does it works from within QueryAnalyzer?
 
Back
Top