-1

this is my data

select productid,productname from product

1 Answers1

0

If this is Microsoft SQL Server, you can use "sqlcmd" command line tool.

See example here

How to export data as CSV format from SQL Server using sqlcmd?

K4M
  • 1,030
  • 3
  • 11