Tabela _Constraint-Keys
This table holds information about virtual keys associated with foreign table constraints.
10campos
Campos da tabela _Constraint-Keys
10 campos no dicionário de dados do TOTVS Datasul.
10
SELECT de exemplo da tabela _Constraint-Keys
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."_Field-Recid",
t1."_Ascending",
t1."_C-Res1",
t1."_C-Res2",
t1."_Con-Key-Con-Recid",
t1."_Con-Key-Fld-Order",
t1."_Con-Key-Parent-Ind",
t1."_Con-recid"
FROM PUB."_Constraint-Keys" t1Tabelas próximas no índice do Datasul
- _Client-SessionThis table records a client authenticated session information. It stores information about the client session and the methods used to authenticate the client. Its primary purpose is to provide additional information for auditing for the purposes of non repudiation, i.e. to provide extra information as to exactly who the user was.\n\nThis table is part of a blank empty database as it has other uses beyond auditing. When used for auditing, the client session UUID will be used to associate the authenticated client session with the audit events.\n\nAn authenticated client session may not always be available when recording auditing events, e.g. in the case of an appserver connecting to a database outside of the context of an authenticated session.\n\nThe data in this table can be sealed with a Message Digest or MAC for non-repudiation.\n\nNote that the data in this table must be copied to the archive database as part of the archive process, but the contents will not be deleted as part of the same process as the client session information could be used for other purposes than auditing.\n
- _Code-Feature
- _Codepage
- _Collation
- _Connect
- _ConstraintThis table holds information about foreign table constraint definitions.
- _Database-Feature
- _Db
- _Db-DetailThis is an extension to the _db database table to hold auditing specific information. The join to _db is on the _Db-guid foreign key. The primary reason to use an additional table for the auditing information is to facilitate multiple record entries to accomodate different database GUIDs, e.g. when copying the contents of this table to an archive database for long term storage where the archive database contains audit data from multiple databases.\n\nNote that the join from the _db table is not physically shown due to the fact that this data is copied with the archive process and therefore the record in the _db table may be for a different database, breaking the referential integrity.\n\nThe details in this table provide a meaningful description of the database associated with a GUID and as this is the only means to describe what the database is where the audit data contains entries for multiple databases, the contents of this table must be copied with the audit data.\n\nAdditionally this table records the MAC key used to secure / seal the audit data. Without the MAC key the data in the audit table could not be used, and so the MAC key needs to be copied with the audit data. If the MAC key is ever modified for a particular database, then a new database GUID must be created as a database GUID can only ever have a single MAC key. It is the combination of the database GUID and the MAC key that facilitates access to sealed audit data. \n\nAlso, if the database GUID ever changes, a new record must be created in this table with the current MAC key and a meaningful description of the database associated with the GUID.\n\nAs mentioned above, the contents of this table must be copied as part of the archive process as the data is needed to describe the database / unseal the audit data. The contents however must not be deleted as part of the archive process, only copied to the archive database.\n
- _Db-OptionThis tables provides an extension to the _db database table for additional database options (user defined fields). It is joined to the _db table via the _db-recid field as the RECID of the database never changes, whereas the database GUID does, which would result in lost database options.\n\nThis is really a generic table to make the _db metadata extensible. The use of option types upto 32,000 are reserved for Progress internal use.\n\nAn example entry in this table would be for a database option that controls whether to record authenticated client sessions or not in the _client-session table.\n
- _DbParams
- _DbServiceManager
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.