dilipd006 (9/27/2012)
HiI written a procedure to search hotel based on particular hotel name or based on a cityID. The procedure returns 10 tables.The procedure work fine...executing in 1 milisecond in SSMS.
The problem is after 2-3 days the result is not displaying in the front end(C# and Asp.net) but the result is coming in backend when i execute through SSMS.
When the results are not coming...I drop the procedure and recreate it, then it display results in frontend.
Any idea why this problem occuring
Can you post the code?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden