title: Query failing with single quotes
body: <p>trying to parametrize my queries, heres a supposedly simple one</p>
  
  <pre><code>        $query = $this-&gt;handle-&gt;prepare('USE :db_name');
          $query-&gt;bindParam(':db_name', $db_name, PDO::PARAM_STR);
          $query-&gt;execute();
  </code></pre>
  
  <p>however, it throws an invalid syntax error. I checked the query log, it comes out as</p>
  
  <pre><code>USE 'test'
  </code></pre>
  
  <p>which doesn't work, however, if I manually write</p>
  
  <pre><code>USE test
  </code></pre>
  
  <p>then that does work. This leaves me with 2 questions</p>
  
  <ol>
  <li><p>Shouldn't the one with single quotes work? AFAIK, quotes just mark the beginning and ending of a string in SQL, why is it breaking it?</p></li>
  <li><p>How can I get the prepared query to not automatically put quotation marks around the parameters?</p></li>
  </ol>