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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top