Commit fca6c3facde137d99fe1bc08d3ea3caf45fbdd36
1 parent
6ceb4745
Exists in
MarceloOracle
Cortanto do tamanho dos idx para 30
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
bd/PenMetaBD.php
... | ... | @@ -336,6 +336,10 @@ class PenMetaBD extends InfraMetaBD { |
336 | 336 | if($n=='idx_md_pen_recibo_tramite_envi' && $strNomeTabela=='md_pen_recibo_tramite_enviado' && $strPk=='numero_registro'){ |
337 | 337 | $n="idx_md_pen_recibo_tramite_env2"; |
338 | 338 | } |
339 | + if($n=='idx_md_pen_recibo_tramite_rece' && $strNomeTabela=='md_pen_recibo_tramite_recebido' && $strPk=='numero_registro'){ | |
340 | + $n="idx_md_pen_recibo_tramite_rec2"; | |
341 | + } | |
342 | + //CREATE INDEX idx_md_pen_recibo_tramite_rece ON md_pen_recibo_tramite_recebido(numero_registro) | |
339 | 343 | //idx_md_pen_recibo_tramite_env2 ON md_pen_recibo_tramite_enviado(numero_registro) |
340 | 344 | //idx_md_pen_recibo_tramite_envi ON md_pen_recibo_tramite_enviado(id_tramite) |
341 | 345 | $objInfraBanco->executarSql('CREATE INDEX '.$n.' ON '.$strNomeTabela.'('.$strPk.')'); | ... | ... |