Subject Re: [firebird-support] Export data to CSV file from stored procedure?
Author Nick Upson
you could define an external table with 1 field, construct a csv within the SP ‚Äčand write to the table

Nick Upson, Telensa Ltd, Senior Operations Network Engineer
direct +44 (0) 1799 533252, support hotline +44 (0) 1799 399200

On 20 August 2014 17:19, conversar@... [firebird-support] <> wrote:

Hi there,

As subject, is it possible to export a query result set to an external csv file from a Firebird stored procedure? I know this can be done with IBExpert but we are looking for a pure firebird sql solution. We are using Firebrd 2.5.

Any pointers on how to do this will be much appreciated.