Subject | Re: [firebird-support] How to write Apostrophe (') to metadata |
---|---|
Author | Ann W. Harrison |
Post date | 2004-11-27T19:40:47Z |
At 12:35 AM 11/27/2004, Namit Nathwani wrote:
a SQL string value is to double it: 'Bhavbhuti''s notebook'
Regards,
Ann
>UPDATE RDB$RELATION_FIELDS SET RDB$DESCRIPTION = 'Bhavbhuti's notebook'The correct (standard compliant) way to enter a single quote mark in
>WHERE RDB$RELATION_NAME = 'ACCOUNTS' AND RDB$FIELD_NAME = 'REMARKS';
>
>I have tried to replace 'Bhavbhuti's notebook' with "Bhavbhuti's notebook"
>and [Bhavbhuti's notebook] just in case I am allowed to use the ', but no
>luck.
>
>I have also tried 'Bhavbhuti\'s notebook', 'Bhavbhuti\\'s notebook',
>'Bhavbhuti/'s notebook' and 'Bhavbhuti//'s notebook' but still no luck.
a SQL string value is to double it: 'Bhavbhuti''s notebook'
Regards,
Ann