11 lines
421 B
MySQL
11 lines
421 B
MySQL
|
|
#17-06-25
|
||
|
|
|
||
|
|
|
||
|
|
CREATE INDEX `IDX_RIGA_DOCUMENTO_7` ON `RIGA_DOCUMENTO` (`id_rigaDocumentoPadre`);
|
||
|
|
|
||
|
|
CREATE INDEX `IDX_DOCUMENTO_20` ON `DOCUMENTO` (`flgSuper`,`id_documento`);
|
||
|
|
|
||
|
|
|
||
|
|
# DROP INDEX `IDX_DOCUMENTO_21` ON `DOCUMENTO`;
|
||
|
|
|
||
|
|
CREATE INDEX `IDX_DOCUMENTO_21` ON `DOCUMENTO` (`id_tipoDocumento` ,`dataDocumento` DESC,`flgStatoOrdineWww` ,`flgSuper` ,`id_tipoPagamento` ,`flgPagata` ,`id_esercizio` desc,`progDocumento` DESC);
|