|
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 -
Horsepower Defined - by Staff. Indicated Horsepower This represents the power developed in the enine cylinder as obtained from the pressure in the cylinders. This is pressure obtained from an indicator which shows cylinder pressures. Indicated horsepower does not represent the actual useful power delivered by the engine. Brake Horsepower This is the actual horse power delivered by the engine to the shaft. It is equal to the "indicated horsepower" less the friction of the engine. It is useful hor
... [Read Article]
Latest Ad:
Late 50s early 60s international harvester 560 with cultivator
[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 |
|