Re: [SQL] handling special characters in sql strings

2001-03-19 Thread [EMAIL PROTECTED]
Markus, Here are comments from a C function which does what you need. You won't have the regex functions available, so the function itself would be useless. You get the idea though. 1. First change backslashed backslashes back to single backslashes. 2. Find backslash single quote combinations

[SQL] handling special characters in sql strings

2001-03-19 Thread Markus Wagner
Hi, I need to insert and retrieve strings containing special characters (e. g. "'") and I want a C function to prepare my strings automatically. Is it ok to just insert a "\" before each special character? And what range of characters will need this handling? Thanks, Markus ---