# Generic

O prefixo generic desempacota uma tabela alta, criando um campo por valor do atributo. Isso é semelhante a dinamizar uma tabela, exceto porque resulta em uma tabela separada por campo criado.

Sintaxe:

Generic( loadstatement | selectstatement )

As tabelas carregadas por um comando generic não são concatenadas automaticamente.

Exemplo:

`Table1:` `Generic 
 LOAD * INLINE` `[` `Key, Attribute, Value` `Bob, Jan, 100` `Bob, Feb, 200` `Bob, Mar, 300` `Kate, Jan, 400` `Kate, Feb, 500` `Kate, Mar, 600` `];` ` `

**Resultado:**

Isso resultará em três tabelas:

Table1.Jan:

Exemplo 1

| Key, | Jan |
| --- | --- |
| Bob, | 100 |
| Kate, | 400 |

Table1.Feb:

Exemplo 2

| Key, | Feb |
| --- | --- |
| Bob, | 200 |
| Kate, | 500 |

Table1.Mar:

Exemplo 3

| Key, | Mar |
| --- | --- |
| Bob, | 300 |
| Kate, | 600 |

## Saiba mais

* [Load](https://help.qlik.com/pt-BR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Load.htm)
* [Select](https://help.qlik.com/pt-BR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Select.htm)
* [Crosstable](https://help.qlik.com/pt-BR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/crosstable.htm)
* [Bancos de dados genéricos](https://help.qlik.com/pt-BR/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/DataSource/generic-databases.htm)