Isak,
Wednesday, March 27, 2002, 4:49:01 PM, you wrote:

IB> My problem is as follows.  I need a c program to run a query on the mysql
IB> database and then write the results into a text file.  I am running the
IB> mysql on a Linux machine.

IB> I am new to mysql and according to another source there is an example
IB> program in the mysql source code?  I checked through everything but could
IB> not find it.

IB> Could anyone direct me to the file?  I am also not a c programmer otherwise
IB> I would have done it myself.

Look at SELECT INTO OUTFILE statement, this seems to be useful for
you:
    http://www.mysql.com/doc/S/E/SELECT.html

IB> Thanks
IB> Isak






-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to