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!!!

Re: how to create a notification? by Miha

Miha
Fri Nov 21 03:38:33 CST 2003

I don't know much on events, but are you sure that the statament is
correct - does it works from within QueryAnalyzer?

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"xum" <xum@ufsoft.com.cn> wrote in message
news:%23b$6v8AsDHA.3436@tk2msftngp13.phx.gbl...
> 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!!!
>
>



Re: how to create a notification? by xum

xum
Fri Nov 21 03:43:07 CST 2003

i known :)

"xum" <xum@ufsoft.com.cn> дÈëÓʼþ
news:%23b$6v8AsDHA.3436@tk2msftngp13.phx.gbl...
> 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!!!
>
>