PROP:SQL And Embedded Single Quotes

By John L Griffiths

Posted March 10 2006

Summary: If you use MS-SQL with your Clarion programs, and you write your own SQL statements, then you've probably run into problems with quote characters. SQL statements use quote characters to delimit streams, and if you have quotes inside your strings you need to double them up so MS-SQL doesn't treat them as the end of the string. This article by John Griffiths will show you a few quoting tricks, and will also provide you with a handy function - SingleQuoteDoubler()

Please log on to read this subscriber-only article. If you do not have a subscription you can purchase one in the ClarionMag store.

Clarion Roadmap

Try the roadmap (beta)

Search ClarionMag

 

Advanced search

From the archives

First Look: C7 Gold Shows Promise

4/16/2009 12:00:00 AM

SoftVelocity released C7 Gold on April 13, 2009. Last-minute changes/fixes include a resolution to many UHEs and the addition of page view in the report designer. Dave Harms takes a look at the gold release.