dbTalk Databases Forums  

Re: [Info-Ingres] [Openroad-users] session id in IPM and IMA

comp.databases.ingres comp.databases.ingres


Discuss Re: [Info-Ingres] [Openroad-users] session id in IPM and IMA in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Leandro Pinto Fava
 
Posts: n/a

Default Re: [Info-Ingres] [Openroad-users] session id in IPM and IMA - 12-05-2008 , 09:57 AM






Hi,



You can use the SQL hex() function like in:



select hex(float4(session_id)) ...



Regards.



Leandro Fava

Setor de Informática - UNISC

+55 51 3717 7636



From: openroad-users-bounces (AT) peerlessit (DOT) com [mailtopenroad-users-bounces (AT) peerlessit (DOT) com] On Behalf Of hans.weisenberger (AT) mmm (DOT) com
Sent: sexta-feira, 5 de dezembro de 2008 12:32
To: International OpenROAD Users
Subject: [Openroad-users] session id in IPM and IMA




Hi all,

when I look at ipm I see the session_id displayed as Hexadecimal value, e.g. 80000001039de200.
If I look at the value in IMA I see 0009223372041210421760. If I put the in an calculator and switch
between hex and int thevalues are correct interpreted.

Is there any function in OR what does the right conversion? Or is there a column in IMA, that displays
the hex value?

Thanks in advance
Hans Weisenberger



Reply With Quote
  #2  
Old   
Chris Clark
 
Posts: n/a

Default Re: [Info-Ingres] [Openroad-users] session id in IPM and IMA - 12-05-2008 , 11:22 AM







In a related topic, if you want to make OpenROAD (or any client)
sessions identifiably in IPM (or vdba). Consider using session descriptions:

set session with description ='my application, user fred at my
computer (ip 1.1.1.1)'

It is a free format varchar, you can put anything you want in there.

Chris


Leandro Pinto Fava wrote:
Quote:
Hi,



You can use the SQL hex() function like in:



select hex(float4(session_id)) ...



Regards.



Leandro Fava

Setor de Informática - UNISC

+55 51 3717 7636



*From:* openroad-users-bounces (AT) peerlessit (DOT) com
[mailtopenroad-users-bounces (AT) peerlessit (DOT) com] *On Behalf Of
*hans.weisenberger (AT) mmm (DOT) com
*Sent:* sexta-feira, 5 de dezembro de 2008 12:32
*To:* International OpenROAD Users
*Subject:* [Openroad-users] session id in IPM and IMA




Hi all,

when I look at ipm I see the session_id displayed as Hexadecimal
value, e.g. 80000001039de200.
If I look at the value in IMA I see 0009223372041210421760. If I put
the in an calculator and switch
between hex and int thevalues are correct interpreted.

Is there any function in OR what does the right conversion? Or is
there a column in IMA, that displays
the hex value?

Thanks in advance
Hans Weisenberger

------------------------------------------------------------------------

__________________________________________________ ______________
OpenROAD-Users mailing list

You can maintain your subscription here:
http://www.peerlessit.com/mailman/li...openroad-users

To unsubscribe click on this link
mailtopenroad-users-unsubscribe (AT) peerlessit (DOT) com&subject=unsubscribe

To subscribe click on this link
mailtopenroad-users-subscribe (AT) peerlessit (DOT) com&subject=subscribe



Reply With Quote
  #3  
Old   
Roy Hann
 
Posts: n/a

Default Re: [Info-Ingres] [Openroad-users] session id in IPM and IMA - 12-05-2008 , 01:02 PM



Chris Clark wrote:

Quote:
In a related topic, if you want to make OpenROAD (or any client)
sessions identifiably in IPM (or vdba). Consider using session descriptions:

set session with description ='my application, user fred at my
computer (ip 1.1.1.1)'
Yes! Also useful for tracing the progress of long-running jobs by
updating the session description as it progresses.

--
Roy

UK Ingres User Association Conference 2009 will be on Tuesday June 9, 2009
Go to http://www.iua.org.uk/join to get on the mailing list.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.