Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data truncated with IP

Status
Not open for further replies.

johnv20

Programmer
Sep 26, 2001
292
US
I'm updating a table with records of the form trackcode, string data - where string data is a varchar of size 999

While this is working most of the time, every now & again the string data seems to be getting truncated on insert to the database & is ended with IP

e.g.
correct - '<a val="123" /a><b val="233" /b>'
incorrect - '<a val="123" /a><b val=IP

Rerunning the insert always seems to resolve the issue & there are no database errors while this is occurring.

Any body got any idea what this IP value is???
 
Have you traced the call in profiler to ensure whatever is calling the INSERT statement isnt populating the string incorrectly?
Switch on SQL profiler and ensure you have the correct options on, and this should show whether the problem lies at the Application level (which I would guess it is).


"I'm living so far beyond my income that we may almost be said to be living apart
 
I just found the problem - it's a bug in the app level, I really have left my brain at home today.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top