Tabela TQ7

Dados do Layout
12camposNome físicoTQ7010(empresa 01)

Campos da tabela TQ7

12 campos no dicionário de dados do TOTVS Protheus.

12
CampoDescrição
TQ7_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
TQ7_CODLAY
Caractere (C)(6)
Cod. Layout
Contexto:
Real
TQ7_DESLAY
Caractere (C)(150)
Desc. Layout
Máscara:
@!
Contexto:
Real
TQ7_TABELA
Caractere (C)(3)
Cod. Tabela
Máscara:
@!
Contexto:
Real
TQ7_DESTAB
Caractere (C)(150)
Desc. Tabela
Máscara:
@!
Contexto:
Virtual (não existe no banco)
TQ7_TIPARQ
Caractere (C)(1)
Arquivo TXT
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Fixo
  • 2Separador
TQ7_SEPARD
Caractere (C)(1)
Separador
Máscara:
@!
Contexto:
Real
Modo de edição (When):
lSeparador
4 valores possíveis
  • 1Pipe
  • 2Ponto-e-Virgula
  • 3Traco
  • 4Tab
TQ7_FORDTA
Caractere (C)(1)
Formato Data
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • 1dd/mm/aaaa
  • 2ddmmaaaa
  • 3aaaa/mm/dd
  • 4aaaammdd
TQ7_SEPDEC
Caractere (C)(1)
Sep. Decimal
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Ponto
  • 2Virgula
TQ7_INDCAB
Caractere (C)(1)
Cabecalho
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
TQ7_INDROD
Caractere (C)(1)
Ind. Rodape
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
TQ7_MSBLQL
Caractere (C)(1)
Bloqueado?
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela TQ7

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  TQ7.TQ7_FILIAL,
  TQ7.TQ7_CODLAY,
  TQ7.TQ7_DESLAY,
  TQ7.TQ7_TABELA,
  TQ7.TQ7_TIPARQ,
  TQ7.TQ7_SEPARD,
  TQ7.TQ7_FORDTA,
  TQ7.TQ7_SEPDEC
FROM TQ7010 TQ7
WHERE TQ7.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

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.