Difference between revisions of "SYSACTIVEUSERS"

From Lianjapedia
Jump to: navigation, search
m (1 revision: SQL)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Description of currently active users on the system
 
Description of currently active users on the system
 
  
 
==See Also==
 
==See Also==
 
[[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]]
 
[[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]]
 
  
 
==Description==
 
==Description==
 
System Tables are system defined read-only tables. You can query these tables using the SELECT statement.
 
System Tables are system defined read-only tables. You can query these tables using the SELECT statement.
  
 
+
{| class="wikitable" width="100%"
{| class="wikitable"
+
 
!Column||Data Type||Width||Description
 
!Column||Data Type||Width||Description
 
|-
 
|-
|ACTIVE||N||1||True if Active, False if exited uncleanly
+
|valign="top"|ACTIVE||valign="top"|N||valign="top"|1||True if Active, False if exited uncleanly
 
|-
 
|-
 
|GID||C||8||Group ID
 
|GID||C||8||Group ID
Line 33: Line 30:
 
|-
 
|-
 
|}
 
|}
 
  
 
==Example==
 
==Example==
Line 40: Line 36:
 
</code>
 
</code>
  
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:SQL]]
 
[[Category:SQL]]
 
[[Category:System Tables]]
 
[[Category:System Tables]]

Latest revision as of 10:36, 31 January 2013

Purpose

Description of currently active users on the system

See Also

DATA TYPES, SELECT, SYSTEM TABLES

Description

System Tables are system defined read-only tables. You can query these tables using the SELECT statement.

Column Data Type Width Description
ACTIVE N 1 True if Active, False if exited uncleanly
GID C 8 Group ID
UID N 8 User ID
PID C 8 Process ID
USER_NAME C 25 User name
TERMINAL N 25 Terminal name
CLIENT C 25 Client connection
DATE D 4 Login date
TIME C 8 Login time

Example

SELECT user_name FROM sysactiveusers