What are SQLite3 special characters?
<p>I want to create SQL statements dynamically in my C++ program using a self-made placeholder syntax. However, there are some special SQL-specific or SQLite3-specific characters, which I should not use. Can you please help me to make such a list? My aim is to find a character which cannot occur in an SQL statement. I am mainly using SQLite3, but this might change in the future.</p>

<p>This is what I have found out so far:</p>

<ul>
<li>LIKE: % _ (within string literals)</li>
<li>GLOB: ? * (within string literals)</li>
<li>SQLite3 Parameter Binding: ? : @ $</li>
<li>Statements: ; ,</li>
<li>String Literals: '</li>
<li>Operations: + - * / > &lt; = ~ &amp; | !</li>
</ul>

<p>Possible Candidates include:</p>

<ul>
<li>^</li>
<li>#</li>
<li>"</li>
<li>/</li>
<li>\</li>
</ul>