BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to get the MsSql's database data change notify immediate

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
ari
Guest





PostPosted: Fri Dec 05, 2003 1:47 am    Post subject: how to get the MsSql's database data change notify immediate Reply with quote



hi all,
My problem is, my user may use third part program, even some like "Query
Analyzer" program to update the database's data, so, how can my program get
the exact data changed notice immediately?
Now,for my program can to keep the fresh data, I use a timer to do the
query round and round. but this way is inefficient! Are there any better way
to reach my goal?

Regards,

Ari


Back to top
ari
Guest





PostPosted: Fri Dec 05, 2003 5:00 am    Post subject: I think I need some functions like the "Sql Profiler" progra Reply with quote



I think I need some functions like the "Sql Profiler" program, but most
simpler.
for me, I just need to get the specifical table's changed message!


Back to top
Euan Garden
Guest





PostPosted: Fri Dec 05, 2003 7:57 pm    Post subject: Re: how to get the MsSql's database data change notify immed Reply with quote



In SQL 2000 you would have to use Triggers or SQLTrace, neither of which is
a particularly clean solution. In Yukon you could use Query Event
Notifications.

-Euan

"ari" <aiirii (AT) 163 (DOT) net> wrote

Quote:
hi all,
My problem is, my user may use third part program, even some like
"Query
Analyzer" program to update the database's data, so, how can my program
get
the exact data changed notice immediately?
Now,for my program can to keep the fresh data, I use a timer to do the
query round and round. but this way is inefficient! Are there any better
way
to reach my goal?

Regards,

Ari





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.