Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
problem in displaying result from stored...
problem in displaying result from stored procedure to Frontend application
Rate Topic
Display Mode
Topic Options
Author
Message
SQL006
SQL006
Posted Thursday, September 27, 2012 1:25 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Monday, May 13, 2013 2:43 AM
Points: 161,
Visits: 863
Hi
I 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
Post #1365064
SQL006
SQL006
Posted Monday, October 08, 2012 1:14 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Monday, May 13, 2013 2:43 AM
Points: 161,
Visits: 863
Any help?
Post #1369640
Abu Dina
Abu Dina
Posted Monday, October 08, 2012 2:16 AM
SSC-Addicted
Group: General Forum Members
Last Login: Today @ 9:23 AM
Points: 484,
Visits: 2,126
Parameter sniffing possibly?
http://www.simple-talk.com/sql/t-sql-programming/parameter-sniffing/
-----------------------------------
http://www.SQL4n00bs.com
Post #1369664
ChrisM@Work
ChrisM@Work
Posted Monday, October 08, 2012 2:39 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 9:15 AM
Points: 5,603,
Visits: 10,959
dilipd006 (9/27/2012)
Hi
I 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?
“Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.”
- Gail Shaw
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
Exploring Recursive CTEs by Example
Dwain Camps
Post #1369670
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.