Re: Strange String Truncation Error
- From: "Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com>
- Date: Wed, 20 May 2009 14:25:53 -0500
Ok, this really shouldn't be like pulling teeth. When I ask for code, it's
because we can't read your mind and we can't see what you see on your
monitor. That measn that you have to provide all of the code pertinent to
the issue at hand. You gave us a SQL statement, and an invalid one at that.
That doesn't help. How do we know that your parameters are right? For all
we know you are passing in a varbinary for the first and a string for the
second. Code would clarify this a whole lot.
What you've given us is analogous to the following:
[First post]
My app is throwing an exception when I do a math operation. What is wrong
with my code?
[Second post]
Here is my code:
var answer = MyFunction(a, b);
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"BradO" <BradO@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8E0812A6-C029-408F-A75D-E42F342A2E0E@xxxxxxxxxxxxxxxx
The insert code is:
INSERT INTO [Route] ([ID], [PassFail]) VALUES (@p1, @p2)
As for creation code, this particular database is another application's
that
we are saving data to.
Looking at the db in SQL Server Management Studio the field in question
(PassFail) is listed as type: nchar(1) , Size: 2, Identity: No, Nulls:
Yes.
Thanks for the reply.
Brad
.
- Follow-Ups:
- Re: Strange String Truncation Error
- From: BradO
- Re: Strange String Truncation Error
- References:
- Strange String Truncation Error
- From: BradO
- Re: Strange String Truncation Error
- From: Chris Tacke, eMVP
- Re: Strange String Truncation Error
- From: BradO
- Strange String Truncation Error
- Prev by Date: Re: Strange String Truncation Error
- Next by Date: Re: Strange String Truncation Error
- Previous by thread: Re: Strange String Truncation Error
- Next by thread: Re: Strange String Truncation Error
- Index(es):
Relevant Pages
|