Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Posts
    21

    Unanswered: Running SQLPlus Script

    Can someone give me an example of a script that executes a script from a command line?

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    sqlplus scott/tiger @myscript.sql
    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.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,296
    PHP Code:
    sqlplus user/password@sid <<!
    spool results.log
    select 
    from tablename;
    spool off;
    quit

    - The_Duck
    you can lead someone to something but they will never learn anything ...

Posting Permissions

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