Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello all!!
I would like to know whether there is anyway we can invoke function in VB directly from SQL server.I have developed application in vb that run on different clients but they connected to one server only. So all I need is that when one client send any data to server, other client refresh to get data automatically.
Any help please?
Posted

1 solution

No you cannot invoke a function on the client from the database using SQL Server features.

Why not do it the other way around? The client can poll the database periodically to see if there is data for that client. Another possibility is to use SqlDependency[^]
 
Share this answer
 
Comments
Maciej Los 20-May-12 11:13am    
Good answer, my 5!
Wendelius 20-May-12 11:39am    
Thanks losmac :)

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