PC Review


Reply
Thread Tools Rate Thread

Asynchronous Queries

 
 
Ryan
Guest
Posts: n/a
 
      8th Oct 2008
Hello,

I'm trying to build a multi-user scheduling application using SQL Server
2005. I'm trying to first populate the schedule when it first loads with all
appointments. Next, I was wondering, is there any way to do an Asynchronous
query or something that would stay open that would allow me to detect when
something was added, updated, or deleted? This would allow me to not have to
have the schedule go out and constantly refresh itself every x seconds and
then dump all appointments, then reload them.

Thanks.

 
Reply With Quote
 
 
 
 
baha
Guest
Posts: n/a
 
      8th Oct 2008
On Oct 8, 5:11*pm, Ryan <R...@discussions.microsoft.com> wrote:
> Hello,
>
> * I'm trying to build a multi-user scheduling application using SQL Server
> 2005. *I'm trying to first populate the schedule when it first loads with all
> appointments. *Next, I was wondering, is there any way to do an Asynchronous
> query or something that would stay open that would allow me to detect when
> something was added, updated, or deleted? *This would allow me to not have to
> have the schedule go out and constantly refresh itself every x seconds and
> then dump all appointments, then reload them. *
>
> * Thanks.


You need this: http://msdn.microsoft.com/en-us/libr...ependency.aspx
and the sample of using sqldependency you can find on
http://www.codeproject.com/KB/database/chatter.aspx
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ACC2003] Add tables and queries dialog does not show queries ATS Microsoft Access 0 7th May 2008 10:26 AM
My parameter queries fail, whereas my select queries work fine =?Utf-8?B?UEZNYXk=?= Microsoft Access Queries 4 28th Sep 2005 10:21 AM
Multithreaded Asynchronous Database queries problem Zach Tong Microsoft Dot NET 0 26th Oct 2004 03:11 AM
Queries using parameter queries, assigning values to for params in called query, is it possible? =?Utf-8?B?RnJhbmsgTS4=?= Microsoft Access Queries 1 13th Mar 2004 07:06 AM
Aborting long running queries/Running queries asynchronous Frode Rislaa Microsoft ADO .NET 0 6th Aug 2003 12:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:39 PM.