Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004
    Posts
    2

    Unanswered: ORA-01012 connection error

    I have a Pro*C application being developed on Linux.
    I have 2 functions, one which connects to the oracle database and the second function to update a table.
    The first function connection()works fine (sucessfully connects to the DB).But when i try to update the table, i get the error message "ORA-01012: not logged on"

    What is the problem?Is the session killed?
    Please help.

    Thanks
    Naresh

  2. #2
    Join Date
    Dec 2003
    Location
    Oklahoma, USA
    Posts
    354
    Sounds to me that your second function is out of scope. In that case, you would have to re-issue the connect.

    JoeB

Posting Permissions

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