Click here to Skip to main content
16,016,157 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

I am calling a stored procedure from my application by passing Fromdate, Todate,venrodId values are input paramerts.Here i am not getting any errors but i am also not geting any result.

I opend sql server profiler there i found that date is specifying between two single quotations.

exec VALIDATE_SUPPORTDOCUMENTS @iInVendorID=4,@dtFromDate=''2010-01-01 00:00:00:000'',@dtToDate=''2011-09-30 00:00:00:000''



please any help me how i can elemenate extra single quation here.

Thanks in advance

K Uday
Posted
Comments
Mehdi Gholam 26-Sep-11 4:47am    
Put some print statements in your stored procedure to show the input values, and see if they are being set correctly.

1 solution

try this but plz dont mind reply me if you are not getting result ,i wiil suggest you few ways ...
exec VALIDATE_SUPPORTDOCUMENTS '4','2001-01-01','2011-09-30'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900