Difference between revisions of "SYSUSERS"

From Lianjapedia
Jump to: navigation, search
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Username and email information for alerts for watched records  
 
Username and email information for alerts for watched records  
 
  
 
==See Also==
 
==See Also==
[[CLEAR TIMELINE]], [[SQL Data Types|DATA TYPES]], [[LIST TIMELINE]], [[ROLLBACK TIMELINE]], [[SQL SELECT|SELECT]], [[SET TIMELINE]], [[SET TIMESTAMP]], [[SQL System Tables|SYSTEM TABLES]], [[SYSTIMELINE]], [[UNWATCH()]], [[WATCH()]], [[WATCHCHANGED()]], [[WATCHING()]], [[WATCHRESET()]]
+
[[CLEAR TIMELINE]], [[SQL Data Types|DATA TYPES]], [[LIST TIMELINE]], [[ROLLBACK TIMELINE]], [[SQL SELECT|SELECT]], [[SET TIMELINE]], [[SET TIMESTAMP]], [[SQL System Tables|SYSTEM TABLES]], [[SYSTIMELINE]]
 
+
  
 
==Description==
 
==Description==
System Tables are system defined read-only tables. You can query these tables using the SELECT statement.
+
The sysusers table is stored in the system database and holds username and email information for alerts for watched records.
  
 
+
{| class="wikitable" width="100%"
{| class="wikitable"
+
 
!Column||Data Type||Width||Description
 
!Column||Data Type||Width||Description
 
|-
 
|-
Line 19: Line 16:
 
|-
 
|-
 
|}
 
|}
 
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
SELECT * FROM sysusers WHERE user = user()
+
SELECT * FROM system!sysusers WHERE user = user()
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:SQL]]
 
[[Category:SQL]]
 
[[Category:System Tables]]
 
[[Category:System Tables]]

Latest revision as of 06:22, 22 April 2020

Purpose

Username and email information for alerts for watched records

See Also

CLEAR TIMELINE, DATA TYPES, LIST TIMELINE, ROLLBACK TIMELINE, SELECT, SET TIMELINE, SET TIMESTAMP, SYSTEM TABLES, SYSTIMELINE

Description

The sysusers table is stored in the system database and holds username and email information for alerts for watched records.

Column Data Type Width Description
USER C 20 Name of user to alert (watching)
EMAIL C 40 Email address for user

Example

SELECT * FROM system!sysusers WHERE user = user()