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
Today's Featured Article -
Tractor Traction - by Chris Pratt. Our first bout with traction problems came when cultivatin with our Massey-Harris Pony. Up till then, this tractor had been running a corn grinder and pulling a trailer. It had new unfilled rear tires and no wheel weights. The garden was already sprouting when we hooked up the mid-mount shovel cultivators to the Pony. The seed bed was soft enough that the rear end would spin and slowly work its way to the downhill side of the gardens slight incline. From this, we learned our lesson sinc
... [Read Article]
Latest Ad:
1964 I-H 140 tractor with cultivators and sidedresser. Starts and runs good. Asking 2650. CALL RON AT 502-319-1952
[More Ads]
Copyright © 1997-2025 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 |
|