|
|
Archives of the TeradataForum
Message Posted: Thu, 03 Apr 2003 @ 21:54:42 GMT
Subj: | | Re: Teradata Manager session Problem |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Thursday, April 03, 2003 16:52 -->
Run the following query in BTEQ to see all the active sessions with logon time and source:
sel UserName (format 'x(8)') (Title 'User//Name ')
,SessionNo (format 'z(8)') (Title 'Sess.//No.')
,LogonDate (Title 'Logon//Date')
,substr (LogonTime, 1, 8) (Title 'Logon//Time')
,IFPNo(Format '-(5)9') (Title 'IFP//No.')
,substr (LogonSource, 10, 19) (format 'x(18)') (Title 'Logon Source')
from DBC.SessionInfo order by LogonDate,LogonTime;
| |