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