0

I use the Postgre database.

The user must select the date on the client and after that an file Excel has been exported for the selected date.

So how can I, on the server side, export data from a database to Excel.

Vasyl Moskalov
  • 4,242
  • 3
  • 20
  • 28
user10720571
  • 353
  • 1
  • 4
  • 15

1 Answers1

0

Maybe this could help. I've tried this in v10.6 and it is working fine

COPY "Table_Name" TO 'D:/sample.csv' (format csv);
Akshara
  • 211
  • 1
  • 9