Tabela _KeyEvent

The purpose of this table is to store key events in the database. Key events are events such as database startup parameters, certain error messages, structural changes to the database, utilities run on the database, etc. that provide a history that can be reviewed by tech support. Such a history is useful when diagnosing customer issues especially when the database log file is missing or has been truncated.
8campos

Campos da tabela _KeyEvent

8 campos no dicionário de dados do TOTVS Datasul.

CampoDescrição
_KeyEvent-Usrnum
integer
Máscara:
->,>>>,>>>,>>9
_KeyEvent-ThreadId
integer
Máscara:
->,>>>,>>>,>>9
_KeyEvent-Spare2
varchar
Máscara:
x(32)
_KeyEvent-Spare1
integer
Máscara:
->,>>>,>>>,>>9
_KeyEvent-Procid
integer
Máscara:
->,>>>,>>>,>>9
_KeyEvent-MsgId
integer
Máscara:
->,>>>,>>>,>>9
_KeyEvent-Event
varchar
Máscara:
x(200)
_KeyEvent-Date
timestamp_timezone
Máscara:
99/99/9999 HH:MM:SS.SSS+HH:MM

SELECT de exemplo da tabela _KeyEvent

Datasul roda em Progress/OpenEdge: via SQL, as tabelas ficam no schema PUB e nomes com hífen vão entre aspas.

SQL · OpenEdge
SELECT TOP 100
  t1."_KeyEvent-Usrnum",
  t1."_KeyEvent-ThreadId",
  t1."_KeyEvent-Spare2",
  t1."_KeyEvent-Spare1",
  t1."_KeyEvent-Procid",
  t1."_KeyEvent-MsgId",
  t1."_KeyEvent-Event",
  t1."_KeyEvent-Date"
FROM PUB."_KeyEvent" t1

Tabelas próximas no índice do Datasul

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.