General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Ok, Valeu,
E quanto aos índices?
O observo que uns criam indice para cada campo e outros criam indice composto. O que isto influencia na velocidade das consultas(SQL)?
Segue exemplo:
Tabela: ItemDaNota
CodigoDoProduto Char(10)
NumeroDaNota Char(10)
CodigoDoFornecedor Char(10)
Qual é a melhor forma de criar indice para esta tabela?
- Um Indice para cada campo
CodigoDoProduto
NumeroDaNota
CodigoDoFornecedor
- Ou um único índice
CodigoDoProduto + NumeroDaNota + CodigoDoFornecedor
Em que isto influencia na velocidade das consultas(SQL)?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only