Difference between revisions of "SYSUSERS"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision: SQL) |
Yvonne.milne (Talk | contribs) |
||
(4 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]] | + | [[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== | ||
− | + | 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> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:SQL]] | [[Category:SQL]] | ||
[[Category:System Tables]] | [[Category:System Tables]] |
Latest revision as of 06:22, 22 April 2020
Contents
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) |
C | 40 | Email address for user |
Example
SELECT * FROM system!sysusers WHERE user = user()