Silmara,
Wednesday, November 13, 2002, 6:45:51 PM, you wrote:

S> The MySQL have SPOOL where can I stores query results in a file?
S> How can I do this?

Sorry, your question is not clear enough for me.

Take a look at SELECT .. INTO OUTFILE command

or may be --tee option of mysql command-line client program is what
you want.

S> How can I show my Indexes, Primary keys

SHOW INDEX FROM table_name;

S> and Foreign Keys?

   SHOW TABLE STATUS ..
or
   SHOW CREATE TABLE ..



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [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

  • SPOOL Silmara
    • Egor Egorov

Reply via email to