DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Something similar to .profile on Unix

  1. #1
    Join Date
    Jul 2001
    Location
    Bangalore
    Posts
    33

    Question

    Hi,
    When I type sqlplus from the unix prompt and get into the sql prompt. I want certain things to be set initially. Like for Ex : set timing on, set head off,etc. Just like what a .profile does when you log into your account in a Unix box. Is there any way to do this in Oracle.


    Thanks,
    Umesh

  2. #2
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    Hi,

    $ORACLE_HOME/sqlplus/admin/glogin.sql

    is the file you can put your settings in.

    Regards,
    Ales

  3. #3
    Join Date
    Jul 2001
    Location
    Bangalore
    Posts
    33
    What if I am a normal user and not an admin?

  4. #4
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    Then login.sql in your local directory.

  5. #5
    Join Date
    Jul 2001
    Location
    Bangalore
    Posts
    33
    Thanks ales

Posting Permissions

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


Click Here to Expand Forum to Full Width