Re: Strange String Truncation Error



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


.



Relevant Pages

  • DarwinStreamingServer problem
    ... This is my second post and I wanted to say the replies ... to my first post were very very helpful, ... I'm on release 5.4 and I'm attempting to install the ... DarwinStreaming Server from the ports. ...
    (freebsd-questions)
  • Re: The Chronicles of Bob Lings bumbLINGs
    ... I have no problem with your first post but your second post puzzles me. ... Why did you "presume" I ... Bob Ling) before jumping in with words like "gratuitous". ...
    (sci.stat.math)
  • Re: every possible ending (Sopranos Finale Spoilers)
    ... are behind us in their viewings through no fault of their own. ... and i took measures to avoid giving anything away, ... my first post gave nothing at all away. ... my second post was cryptic at best. ...
    (misc.writing)
  • Re: color names not defined?
    ... the first post i realized was mistakenly a reply to a ... the second post was on the powerpc list, ... > Incoming from A. Michael Salem: ... > Are you having a problem with your mail client? ...
    (Debian-User)
  • Re: Mac and Networks support company wanted -- Scotland
    ... immediately after I made the second post over a week later. ... made an error in the first post. ... support outfits around already at capacity or not monitoring these sorts of groups? ...
    (uk.comp.sys.mac)