home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 326 of 2,288   
   shobs to All   
   Re: SQLPROMPT in Sql*Plus   
   05 Sep 03 03:19:05   
   
   From: member38226@dbforums.com   
      
   Hi,   
      
      
      
   If you want the global db name in the sql prompt   
      
      
      
   put this line in the glogin.sql (affects all users) or login.sql(for   
   the user):   
      
      
      
   SET SQLPROMPT '&_CONNECT_IDENTIFIER:SQL>'   
      
      
      
   If you want to pass any value as the dbname just put:   
      
      
      
   SET SQLPROMPT '&_DB NAME>'   
      
      
      
   When you login to sqlplus this will prompt for the db_name.   
      
      
      
   Hope this helps   
      
      
   --   
   Posted via http://dbforums.com   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca