Subject | Re: [Firebird-Architect] Literal strings and quotes |
---|---|
Author | Doug Chamberlin |
Post date | 2009-05-24T11:31:56Z |
This proposal strikes me as being overly complicated.
The stated purpose of the proposed solution is to handle embedded quotes
so they do not have to be doubled. What about a built-in function that
doubles any isolated embedded quotes it finds within a string value? You
just run any strings you have that might contain embedded quotes through
this function and then use the result as a normal string. Nothing else
changes.
Would not this be a better solution to that problem?
The stated purpose of the proposed solution is to handle embedded quotes
so they do not have to be doubled. What about a built-in function that
doubles any isolated embedded quotes it finds within a string value? You
just run any strings you have that might contain embedded quotes through
this function and then use the result as a normal string. Nothing else
changes.
Would not this be a better solution to that problem?