Home » Developer & Programmer » Forms » obtaining database logged in to
obtaining database logged in to [message #125049] Wed, 22 June 2005 22:37 Go to next message
arobinson98
Messages: 8
Registered: June 2005
Junior Member
I have an application that can log into both our test and production database. Is there any function anyone knows about that will return the name of the database the user is currently logged into?
Re: obtaining database logged in to [message #125051 is a reply to message #125049] Wed, 22 June 2005 22:43 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Use GET_APPLICATION_PROPERTY(CONNECT_STRING) but if you have code that can move you to a different database, look at NAME in V$DATABASE.

David.
Previous Topic: Button Execution
Next Topic: View source code
Goto Forum:
  


Current Time: Fri Sep 20 05:36:37 CDT 2024