|
Tractor Talk Discussion Board |
Re: Computer advise please
[ Expand ] [ View Follow Ups ] [ Post Followup ] [ Return to Forum ]
Posted by mrunion on August 04, 2005 at 07:14:21 from (216.145.89.2):
In Reply to: Computer advise please posted by Brokenwrench on August 04, 2005 at 05:40:42:
To attempt to answer the "why it does this" question: Some databases (most databases?) use the apostrophe/single tick (') as a string separator. That means that the TEXT of your reply goes into these string separators when it is put into the database. For example: 'Hello, guys.' If one types apostrophes and they aren't "escaped" by doubling them, the string becomes corrupted and the database insert will fail. Example: 'That's mine.' In the above example, the database server looks at the string, says the "THAT" part is the string and "S MINE." has just been tacked on the end and is invalid. Most schemes handle this by pre-processing your strings and doubling the apostrophes: Example: 'That''s mine.' Two apostrophes together indicate to the database that a SINGLE apostrophe should be inserted LITTERALLY into the string. Still, other ways around the problem are to replace all single apostrophes with a double-quote -- as you have seen. I am NOT saying this is what is actually happening, just tletting you guys know what *may* be happening. Thanx, Matt
Follow Ups:
Home
| Forums
| Order Support
Today's Featured Article -
The Rescue of a Fordson F - by Anthony West. Introduction I live in the UK and have for many years restored Fordson tractors (in the main model N's). I have also restored and shown model F's, E 27N's, Field Marshall Series 2, David Brown Cropmasters and the old rey Fergeson T 20. At one time I had seven restored examples which were shown and used in ploughing matches. As most restorers, I have a number of war stories I can relate on a range of topics that may help other like minded and interested people. Perhaps my first p
... [Read Article]
Latest Ad:
one 8n and one 9n tractor. totaly restored,pretty much everything is new. one 6ft blade good shape.
[More Ads]
Copyright © 1997-2026 Yesterday's Tractor Co. All Rights Reserved. Reproduction of any part of this website, including design and content, without written permission is strictly prohibited. Trade Marks and Trade Names contained and used in this Website are those of others, and are used in this Website in a descriptive sense to refer to the products of others. Use of this Web site constitutes acceptance of our User Agreement and Privacy Policy TRADEMARK DISCLAIMER: Tradenames and Trademarks referred to within Yesterday's Tractor Co. products and within the Yesterday's Tractor Co. websites are the property of their respective trademark holders. None of these trademark holders are affiliated with Yesterday's Tractor Co., our products, or our website nor are we sponsored by them. John Deere and its logos are the registered trademarks of the John Deere Corporation. Agco, Agco Allis, White, Massey Ferguson and their logos are the registered trademarks of AGCO Corporation. Case, Case-IH, Farmall, International Harvester, New Holland and their logos are registered trademarks of CNH Global N.V. Yesterday's Tractors - Antique Tractor HeadquartersWebsite Accessibility Policy |
|