Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Subject: How do subscriptions classes get associated with ..

 
   Database Help (Home) -> Notification Services RSS
Next:  How do subscriptions classes get associated with ..  
Author Message
Robert A. Dukelow1

External


Since: Nov 12, 2003
Posts: 4



(Msg. 1) Posted: Mon Mar 08, 2004 3:57 pm
Post subject: Subject: How do subscriptions classes get associated with no
Archived from groups: microsoft>public>sqlserver>notificationsvcs (more info?)

I have been using the "Walkthrough: Creating a Stock Notification
Application" to try to understand various aspects of creating a Notification
Services application. When the walkthrough is completed there are two
subscription classes (StockSubscriptions and PortfolioSubscriptions) and two
notification classes (StockNotifications and PortfolioNotifications) in the
ADF.

The event rules for the two subscription classes look virtually identical
except for the sources of the data (i.e. the first gets it's data from
StockEvents and StockSubscriptions and the second from StockEventsChron and
PortfolioSubscriptions) and of course one is an EventRule and the other a
ScheduledRule. Both of the subscription class event rule actions start with:
SELECT dbo.StockNotificationsNotify(s.SubscriberId, s.DeviceName,
s.SubscriberLocale, e.StockSymbol, e.StockPrice)...

So the question is, how do the results of the StockSubscriptions rule action
get directed to the StockNotifications notification class and the
PortfolioSubscriptions rule action get directed to the
PortfolioNotifications notification class? Is there some naming rule
association that I am missing?

Another minor question: There are obviously some rules as to how various
names in the ADF file get translated into actual SQL table names. E.g., the
FROM table names in the SELECT statements are not the real SQL table names.
Are these name translation rules documented somewhere?

Thanks for any help.

--Bob

 >> Stay informed about: Subject: How do subscriptions classes get associated with .. 
Back to top
Login to vote
Diane Larsen MSFT

External


Since: Sep 02, 2003
Posts: 36



(Msg. 2) Posted: Mon Mar 08, 2004 7:06 pm
Post subject: Re: Subject: How do subscriptions classes get associated wit [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

See the answer to the first posting.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
<a style='text-decoration: underline;' href="http://www.microsoft.com/info/cpyright.htm." target="_blank">http://www.microsoft.com/info/cpyright.htm.</a>


"Robert A. Dukelow" <bob DeleteThis @spawar.navy.mil> wrote in message
news:OY1$CAVBEHA.3712@tk2msftngp13.phx.gbl...
 > I have been using the "Walkthrough: Creating a Stock Notification
 > Application" to try to understand various aspects of creating a
Notification
 > Services application. When the walkthrough is completed there are two
 > subscription classes (StockSubscriptions and PortfolioSubscriptions) and
two
 > notification classes (StockNotifications and PortfolioNotifications) in
the
 > ADF.
 >
 > The event rules for the two subscription classes look virtually identical
 > except for the sources of the data (i.e. the first gets it's data from
 > StockEvents and StockSubscriptions and the second from StockEventsChron
and
 > PortfolioSubscriptions) and of course one is an EventRule and the other a
 > ScheduledRule. Both of the subscription class event rule actions start
with:
 > SELECT dbo.StockNotificationsNotify(s.SubscriberId, s.DeviceName,
 > s.SubscriberLocale, e.StockSymbol, e.StockPrice)...
 >
 > So the question is, how do the results of the StockSubscriptions rule
action
 > get directed to the StockNotifications notification class and the
 > PortfolioSubscriptions rule action get directed to the
 > PortfolioNotifications notification class? Is there some naming rule
 > association that I am missing?
 >
 > Another minor question: There are obviously some rules as to how various
 > names in the ADF file get translated into actual SQL table names. E.g.,
the
 > FROM table names in the SELECT statements are not the real SQL table
names.
 > Are these name translation rules documented somewhere?
 >
 > Thanks for any help.
 >
 > --Bob
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Subject: How do subscriptions classes get associated with .. 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> Notification Services All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]