title: How do I query column names that contain square brackets?
body: <p>I have a csv that I need to parse into a gridview in vb.net. If I do SELECT *, I get the data without issue. However, I am in a situation where I need to reference the actual column names. And problem is, I have no control over the app that generates the csv, and they make the column names enclosed in square brackets.</p>
  
  <p>How the heck can I do something like this:</p>
  
  <pre><code>Dim cmdSelect As New OleDbCommand(SELECT "[name], [height] FROM myTable")
  </code></pre>
  
  <p>so I get a return of data?</p>
  
  <p>So, in an effort to be perfectly clear: I have an app that creates a csv with the column headers [name] and [height] in a table called myTable, and for the life of me I can't figure out how to return [name] and [height] specifically.</p>