title: "Import Flat File" wizard unable to detect the column headers
body: <p>I am using "Import Flat File" wizard in the SQL Server 2017 to import a .txt file into the database. Below screenshot shows the steps: </p>
  
  <p><a href="https://i.stack.imgur.com/t6KVV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t6KVV.png" alt="enter image description here"></a></p>
  
  <p>Once I select the file location, I see the data preview. In data preview, I don't see the column names. Wizard has ignored the column names which are present in the file and assigned column1, column2, etc as column names. </p>
  
  <p><a href="https://i.stack.imgur.com/BW5ZE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BW5ZE.png" alt="enter image description here"></a></p>
  
  <p>I have column headers in the file I am trying to import. But wizard is not detecting this - </p>
  
  <p><a href="https://i.stack.imgur.com/qJQ70.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qJQ70.png" alt="enter image description here"></a></p>
  
  <p>This issue is happening with only 2 files. I imported 2 other files and wizard was able to detect the column headers in those files. </p>
  
  <p>I tried converting .txt file into .csv file. In this case, wizard treats the column headers as one of the rows and assigns column1, column2, etc as column names. </p>
  
  <p>Please let me know if there is a way to force the "Import Flat File" wizard to treat first row as column headers. </p>