Not sure about setting terminal but if all you want to do is identify what is going on from v$session or something then check out DBMS_APPLICATION_INFO package. You can set various things that allow you to track how your code is proceeding etc
HTH Ken. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 18 February 2003 22:26 > To: [EMAIL PROTECTED] > Subject: DBD::Oracle userenv('TERMINAL') > > > > Hello, > > I would like to set oracle's notion of my TERMINAL value. > > my $sql = "select userenv('TERMINAL') from dual"; > yields the tty: > pts/10 > > which is not particularly interesting. can I override this setting > to an application specified string? > > -j >
