Quantcast
Channel: SQL Server Data Access forum
Viewing all articles
Browse latest Browse all 4164

Headers not seen after exporting database table to csv

$
0
0

Hi Experts ,

I have tried to export the SQL Server 2012 Database table to CSV, but it is not showing the headers.

The command I have used is, 

 exec FIMU_POCTest..xp_cmdshell 'bcp FIMU_POCTest..SE_Case_Detailes_Tbl out "D:\DBExtract\CaseDetalsTableExtract.csv" -c -t, -T -S  -U  -P '

Could u please help me in this?


sajitha


Viewing all articles
Browse latest Browse all 4164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>