Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2012
    Posts
    12

    how to export table to csv or txt

    can any one help me to make a procedure to export the table to csv or txt file
    table name is student
    directory C:

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,658
    Sql> set colsep ,
    sql> spool student.csv
    sql> select * from student;
    sql> spool off
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    There are no stupid questions, but there are a LOT of Inquisitive Idiots.

  3. #3
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,681

    Cool

    Quote Originally Posted by new_db View Post
    can any one help me to make a procedure to export the table to csv or txt file
    table name is student
    directory C:
    Is Google broken for you? Here, use mine: Google

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •