Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing Stored Procs With Params
Message
From
22/01/2005 20:23:53
 
 
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00979533
Message ID:
00979726
Views:
23
Kevin & Kevin (gee, that should be a TV show name <g>),

Yes, that's the problem with the SP. By not specifying a length, it defaults to one character. I'm pretty sure that you'll get this problem with char too, not just nchar.

~~Bonnie


>ok....I don't work with nChar much, but I would have thought you'd need to specify a length in your parameter.
>
>I modified one of my simple SPs to receive the parameter as an nChar...if I didn't specify a width in the parameter list at the top of the SP, (e.g. nChar(10), it didn't work, but the minute I specified a width, it worked fine.
>
>I don't know if that's the full answer, but give that a try.
>
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform