Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export query result in Pervasive to txt / csv file

I'm using Pervasive 10 with PCC (Pervasive Control Center) and I need to export a lot of results (over 100 000) to a TXT file.

I know it's possible "Execute in Text" but this feature does not work for me because after exporting about 20 000 records the program stops.
I have also changed the settings in PCC (Windows->Preferences->Text Output-> Maximun number of rows to display = 500,000).

Anyone know a way to export my query result to a txt file?

like image 523
Timoteus Avatar asked May 26 '15 20:05

Timoteus


People also ask

How do I export data from SQL to CSV?

Open SQL Server Management Studio and connect to the database. 2. Go to "Object Explorer", find the server database you want to export in CSV. Right-click on it and choose "Tasks" > "Export Data" to export table data in CSV.


1 Answers

You should be able to use the Export Data function. Right click on the table name in the PCC and select Export Data. From there, you can either execute the standard "select * from " or make a more complex query to pull only the data you need. You can set the delimiter to Comma, Tab, or Colon.

like image 68
mirtheil Avatar answered Sep 23 '22 08:09

mirtheil