Click here to Skip to main content
15,909,445 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a SQL server table 'tblData'. It contains fixed no of rows(300 - 500 rows). Values in those rows will be updated by a .NET application running in server based on some inputs.
There will 20-30 clents accessing server. All the clients should be notified if any changes occured in that table. After that the client will query the table and use for further processing. I am planning to do through SQLDependency class.

My queries are:

1. Considering the table size,no of clients and no of access to the table, will it be a problem for table(locking)?
2. I want to pass the values(row ID & New column value) which are updating the table from the application(.NET) updating it, running in the server thru broker service.
Posted
Updated 4-Apr-12 2:14am
v2
Comments
swapnilKumbhar 4-Apr-12 7:40am    
For First query you can use "Pooling Concept"
and for Second one use "SQL Notification".

1 solution

2) That is not what Service Broker is for or how it is used

Maybe this will give you some ideas
Using SqlDependency for data change events[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900