C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
What is parameter sniffing in SQL?
Junaid Syed
8y
2.6k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Parameter sniffing is basically a term where, for example there is a procedure and while executing this procedure with different parameter it will take same time (irrespective of no. of records return by that procedure.) mean to say that procedure has cached the old execution plan and that plan is getting used all time.To remove this we need to do few things. --Use WITH RECOMPLIE in procedure --Update old statistics --Use proc parameter as local variable inside procedure and assign to your condition
Manish Kumar
8y
2
Message