Tabela _Db-Option

This 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
5campos

Campos da tabela _Db-Option

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

CampoDescrição
_Db-option-value
varchar
This is the value of the database option, e.g. for the option to record authenticated sessions it would contain yes or no.\n\nThis is a character field.\n
Rótulo:
Db option value
Máscara:
X(70)
_Db-option-description
varchar
This is a free text description of the database option.\n
Rótulo:
Db option description
Máscara:
X(500)
_Db-option-code
varchar
This is a code within the option type to identify a specific option, e.g. PVM.Session to decide whether to record authentication sessions y/n?\n
Rótulo:
Db option code
Máscara:
X(35)
_Db-option-type
integer
This is the type of option to group related options together. Progress owns the first 32,000 option types. Example options types could be for security, auditing, context, etc.\n
Rótulo:
Db option type
Máscara:
->>>>>9
Valor padrão:
0
_Db-recid
integer
This is the RECID of the _db table to identify the database these options are for. The RECID is used rather than the database GUID because the RECID never changes for a database, and this information is specific to a single database and has no meaning outside of a database.\n
Rótulo:
Db recid
Máscara:
->>>>>>>9
Valor padrão:
0000000000000000000

SELECT de exemplo da tabela _Db-Option

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."_Db-option-value",
  t1."_Db-option-description",
  t1."_Db-option-code",
  t1."_Db-option-type",
  t1."_Db-recid"
FROM PUB."_Db-Option" t1

Tabelas próximas no índice do Datasul

Ver todas as tabelas com “0-9”

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.