Tabela _StatBase
3campos
Campos da tabela _StatBase
3 campos no dicionário de dados do TOTVS Datasul.
SELECT de exemplo da tabela _StatBase
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."_IndexBase",
t1."_TableBase",
t1."_StatBase-id"
FROM PUB."_StatBase" t1Tabelas próximas no índice do Datasul
- _sec-roleThis table defines the roles that are available to control authorized access to resources. The use of roles for authorization provides high scalability by minimizing the need to setup specific permissions against individual user accounts, with restrictions on specific user accounts being the exception case.\n\nThe definition of a role in this table is mandatory and a role cannot be granted to a user or other role until it is created in this table. This table therefore provides a registry of the available roles and can be used to validate rules such as the inability for a user to have the same name as a role and the limitation that a user can never authenticate as a role name.\n\nThe SQL standard states that a role cannot be defined with the same name as a user account and vice-versa. This constraint is generally useful and is enforced in all cases, thereby avoiding the need to record whether a granted role is for a user or for a role.\n\nThe role name will be defined with a namespace to avoid conflicts. The role name will be case insensitive and will be limited to 32 characters.\n\nThe role itself can be used as a permission and the fact the user is granted the role can drive authorized behavior. This concept will be used for internal system roles, e.g. a DBA or Audit Administrator. As far as possible however permissions for system roles will be explicit (defined in ACLs). System roles will follow a standard naming convention in that they will all start with an underscore and a code to determine which clients the system role is applicable to as follows;\n\n_SYS - Internal system role applicable to all clients\n_PVM - Internal PVM specific role. This role is only valid for 4GL clients\n_SQL - Internal SQL specific role. This role is only valid for SQL clients\nIn addition, for application defined roles they cannot begin with an underscore but can follow a similar convention, namely:\n\nSYS - Application defined role applicable to all clients\n4GL - Application defined role applicable to 4GL clients only\nSQL - Application defined role applicable to SQL clients only\n\nIf there is no such prefix to the role name then it will be assumed to be an application role applicable to all clients.\n\nNote that the above rules are purely a convention and not currently enforced by the database, or the SQL/4GL clients. It is strongly recommended that the convention is followed however to support future migration in the event that behavior is added later that uses this convention.\n\nAs mentioned above, the fact a user or role is granted membership of a role can be useful in itself for authorizing actions on resources, but to support a finer level of detailed permissions to be defined, roles can have explicit permissions granted or denied via the _sec-access-control-entry table used to define ACLs.\n\nSample rolenames could include;\n\n_sys.audit.admin\n_sys.audit.archive\n_sys.audit.insert\n
- _Segments
- _Sequence
- _Servers
- _SQL_Properties
- _Startup
- _StorageObject
- _SysautostatsThis table holds information on statistics.
- _Sysbigintstat
- _Syscalctable
- _Syscharstat
- _Syschkcolusage
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.