Hello, Am Dienstag, 24. April 2007 16:48 schrieb Grant Croker: > On Tue, 2007-04-24 at 15:33 +0200, Rolf Theisinger wrote: > > Hello ingres users, > > > > I am trying to copy a table to a file, but this does not work. > > > > This is my code: > > // Query database > > // queryText: "copy table myTable() into '/tmp/filename'" > > IIapi_query(&queryParm); > > <snip> > > the syntax for copy into/from within OpenAPI is: > > copy table myTable() into program > copy table myTable() from program >
Yes, but I want to copy a table into a file, not into memory. > > Have a look at $II_SYSTEM/ingres/demo/api/apiscopy.c for an example copy > into/from OpenAPI program > > regards > > grant I had a look, but in this example there is no copy into a file and that's what I need: "copy table myTable() into '/tmp/filename'" Can anybody explain me, how this can be done? Many thanks Rolf _______________________________________________ Users mailing list Users@lists.ingres.com http://lists.ingres.com/mailman/listinfo/users