>>>>You're right, I miscounted. Did you also pass 10 0s ?
>>>
>>>Yes, as a string
>>
>>Did you test SP by itself just in case - though it's so simple I don't see a reason why it would not work.
>
>Just did and it seems to work. @NextNumber is "0000001045" just like I set it in the SP and the return value is 0 as expected. I will step into the C# code to see why it doesn't get back to there.
>Tim
What is your C# code? Did you remove extra parameter's declaration?
If it's not broken, fix it until it is.
My Blog