|
|
Archives of the TeradataForum
Message Posted: Thu, 13 Sep 2001 @ 23:41:34 GMT
Subj: | | Re: Number of ACTIVE users |
|
From: | | Deborah Hunt |
That question came up in our area recently and one of our analysts
provided this code to show you Multisession jobs that are running (like
Fastload or Multiload).
SELECT username, partition, logonsequenceno, count(*)
FROM DBC.SESSIONINFO
WHERE logonsequenceno <> '0'XB and
Partition not in ('DBC/SQL','MONITOR')
Group by username, partition, logonsequenceno
Order by username, partition
Having count(*) >1;
| |