[firebase-br] Forçar o plan no select de uma view ???

Marcos Factori marcosfactori em hotmail.com
Seg Out 2 11:12:20 -03 2006


Bom dia a todos,
não estou conseguindo determinar o Plan em uma view:

1.)
select first 100 * from sc_mov_view plan(sc_mov order sc_mov_idx11) order by
mov_numero desc

erro:
index  cannot be used in the specified plan
.
index SC_MOV_IDX11 cannot be used in the specified plan.

2.)
select first 100 * from sc_mov_view plan(sc_mov_view order sc_mov_idx11)
order by mov_numero desc

erro:

the table  is referenced twice; use aliases to differentiate
.
view SC_MOV_VIEW has more than one base table; use aliases to distinguish.

[]´s

Marcos

_________________________________________________________________
Descubra como mandar Torpedos Messenger do computador para o celular  
http://www.msn.com.br/artigos/maguire/default.asp





Mais detalhes sobre a lista de discussão lista