title: Import CSV into SQL (CODE)
body: <p>I want to import several CSV files automatically using SQL-code (i.e. without using the GUI). Normally, I know the dimensions of my CSV file. So, in many cases I create an empty table with, let say, <code>x</code> columns with the corresponding data types. Then, I import the CSV file into this table using <code>BULK INSERT</code>. However, in this case I don't know much about my files, i.e. information about data types and dimensions are not given.</p>
  
  <p>To summerize the problem: </p>
  
  <blockquote>
    <p>I receive a file path, e.g. C:...\DATA.csv. Then, I want to use this path in SQL-code to import the file to a table without knowing anything about it.</p>
  </blockquote>
  
  <p>Any ideas on how to solve this problem?</p>