Alter Session
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Alter Session

  1. #1
    Join Date
    Jan 2006
    Posts
    4

    Alter Session

    Can you tell me when and why "Alter session" gets triggered?

    I have a PHP/Oracle site where i dont use alter session anywhere in my PHP code. But still i see this getting triggered in database and freezes the database.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    some sort or trigger perhaps

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    What is the full command?
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  4. #4
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Check your envrionment setup too
    Thanx
    Sam



    Life is a journey, not a destination!


  5. #5
    Join Date
    Jan 2006
    Posts
    4
    Alter session set timezone = ...

  6. #6
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    You could ...
    Code:
    select OWNER,NAME,TYPE,LINE,text
    from   dba_source
    where upper(text) like '%ALTER%SESSION%SET%TIMEZONE%'
    ... to find out if there is a trigger or procedure that might be doing this.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  7. #7
    Join Date
    Oct 2005
    Location
    Indianapolis
    Posts
    100
    what does "freezes the database" mean? What are you seeing?
    "False data can act only as a distraction. Therefore. I shall refuse to perceive you." - Bomb #20

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