Hi All,
I have stored procedure for search
i have three parameter, all parameter are optional
i am getting all record if i am enter MRN=1or1=1
so how can i restrict this kind of value by stored procedure . if this kind of value enter by user no record should display


Sanjay KumarRank #561 · 4.3K reputationPosted Aug 11, 2014, 2:16 AM EDT
stored procedure share structure
Khan Abrar AhmedRank #778 · 3K reputationPosted Aug 11, 2014, 3:19 AM EDT
Ravi PatelRank #439 · 5.7K reputationPosted Aug 14, 2014, 5:07 AM EDT
here is sp