Reputation: 2968
Exporting a recordset to an external csv file generates a csv file which is comma separated in Mysql workbench. Is there a way to make it export to a semicolon separated csv file instead?.
I tried looking if there is some settings in Mysql workbench which can be changed to make the csv as semicolon separated but couldnt find. Is the exported csv file comma separated by default and cannot be changed or is there a workaround?
Upvotes: 3
Views: 11413
Reputation: 4850
Yes, you can. When you are exporting the result set, choose "CSV (; separated)" instead of "CSV" as the output format. See the related documentation (and a screenshot).
Alternatively, the table "Table Data Export Wizard" also has an option to use ";" as the field separator. Get there by right-clicking on a table in the schema viewer.
Upvotes: 3
Reputation: 186
1.run the query for output in Workbench
2.select the following button for export to records
Upvotes: 1