Tabela _Db

17campos

Campos da tabela _Db

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

17
CampoDescrição
_Db-addr
varchar
Máscara:
x(60)
_Db-coll-name
varchar
Máscara:
x(20)
_Db-collate
varchar
Máscara:
x(70)
_Db-type
varchar
Máscara:
x(12)
_Db-slave
bit
Máscara:
yes/no
_Db-revision
integer
Máscara:
->>>>>>>>>9
_Db-res2
varchar
Máscara:
x(12)
_Db-res1
varchar
Máscara:
>>>9
_Db-name
varchar
Máscara:
x(12)
_Db-misc2
varchar
Máscara:
x(8)
_Db-misc1
varchar
Máscara:
>>>>9
_Db-local
bit
Máscara:
yes/no
Valor padrão:
0
_Db-xlate
varchar
Máscara:
x(70)
_Db-xl-name
varchar
Máscara:
x(20)
_Db-guid
varchar
This is the current globally unique identifier (GUID) for the database to support the aggregation of data across multiple databases. This field is used in all audit related tables to identify which database the audit information is for. All other fields are then only unique within a specific database.\n\nNote that the database GUID may change, e.g. through back / restore and copy operations to new databases so careful consideration is required when using it as the foreign key to related tables as joins could be broken / need to be fixed, depending on the nature of the related data. The other way to join from the _db table is via the recid, which never changes but is also not globally unique - so which to use will depend on the related data.
Máscara:
X(28)
_Db-comm
varchar
Máscara:
x(12)
_User-Misc
varchar
Máscara:
x(10)

SELECT de exemplo da tabela _Db

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-addr",
  t1."_Db-coll-name",
  t1."_Db-collate",
  t1."_Db-type",
  t1."_Db-slave",
  t1."_Db-revision",
  t1."_Db-res2",
  t1."_Db-res1"
FROM PUB."_Db" 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.