Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. about Oracle & SQLPLUS

about Oracle & SQLPLUS

Scheduled Pinned Locked Moved Database
oraclequestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alexyxj
    wrote on last edited by
    #1

    Hi Friends, I installed Oracle 11g in my XP 64bit OS, now I try to run some scripts in SQLPLUS. How can I check the current default path under SQLPLUS? Namely, where should I store these scripts? From the installation summary, I know where the ORACLE_HOME and ORACLE_BASE are, do I have to set environment variables? Confusing....Hope someone can give me a suggestion.  Thanks

    Y J B 3 Replies Last reply
    0
    • A alexyxj

      Hi Friends, I installed Oracle 11g in my XP 64bit OS, now I try to run some scripts in SQLPLUS. How can I check the current default path under SQLPLUS? Namely, where should I store these scripts? From the installation summary, I know where the ORACLE_HOME and ORACLE_BASE are, do I have to set environment variables? Confusing....Hope someone can give me a suggestion.  Thanks

      Y Offline
      Y Offline
      Yusuf
      wrote on last edited by
      #2

      Your post has so much spaces, it is very hard to read. Fix it so, people may look at it

      Yusuf May I help you?

      1 Reply Last reply
      0
      • A alexyxj

        Hi Friends, I installed Oracle 11g in my XP 64bit OS, now I try to run some scripts in SQLPLUS. How can I check the current default path under SQLPLUS? Namely, where should I store these scripts? From the installation summary, I know where the ORACLE_HOME and ORACLE_BASE are, do I have to set environment variables? Confusing....Hope someone can give me a suggestion.  Thanks

        J Offline
        J Offline
        Jorgen Andersson
        wrote on last edited by
        #3

        The default SQLPlus directory is %ORACLE_HOME%\dbs The SQLPATH environment variable will allow you to specify the default search path for scripts. Personally I don't use SQLPlus, I find it a PITA.

        "When did ignorance become a point of view" - Dilbert

        1 Reply Last reply
        0
        • A alexyxj

          Hi Friends, I installed Oracle 11g in my XP 64bit OS, now I try to run some scripts in SQLPLUS. How can I check the current default path under SQLPLUS? Namely, where should I store these scripts? From the installation summary, I know where the ORACLE_HOME and ORACLE_BASE are, do I have to set environment variables? Confusing....Hope someone can give me a suggestion.  Thanks

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          I think on Windows it is not necessary to set Oracle's environment variables manually (different from Linux). Scripts can be stored quite anywhere, as you can give the path e.g.

          START e:\temp\myscript.sql

          But Oracle has often some problems when the path contains spaces (perhaps also with national characters or when the path is "long"), so just avoid that - Oracle is still an 1980ies legacy software.

          A 1 Reply Last reply
          0
          • B Bernhard Hiller

            I think on Windows it is not necessary to set Oracle's environment variables manually (different from Linux). Scripts can be stored quite anywhere, as you can give the path e.g.

            START e:\temp\myscript.sql

            But Oracle has often some problems when the path contains spaces (perhaps also with national characters or when the path is "long"), so just avoid that - Oracle is still an 1980ies legacy software.

            A Offline
            A Offline
            alexyxj
            wrote on last edited by
            #5

            thanks so much Guys...^_^

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups