D
dherbstemail-ng
I can get the SQL Server 2005 CommandNotification cache dependency to
work with inline SQL. It works in a SqlDataSource as well as with the
page OutputCache when making ADO.NET calls.
Next I copy/paste the exact same inline SQL into a stored procedure
wrapper and switch my SqlDataSource or ADO.NET code to call the stored
procedure. Now the cache is no longer refreshed after data in the
query results has been changed.
Has anyone been able to get the SQL Server 2005 CommandNotification
cache dependency to work with stored procedures?
If so, is there anything special that need to be done to enable it to
work with stored procedures?
Thanks,
David
work with inline SQL. It works in a SqlDataSource as well as with the
page OutputCache when making ADO.NET calls.
Next I copy/paste the exact same inline SQL into a stored procedure
wrapper and switch my SqlDataSource or ADO.NET code to call the stored
procedure. Now the cache is no longer refreshed after data in the
query results has been changed.
Has anyone been able to get the SQL Server 2005 CommandNotification
cache dependency to work with stored procedures?
If so, is there anything special that need to be done to enable it to
work with stored procedures?
Thanks,
David