>Hilmar,
>
>Obrigado pela resposta.
>
>Não entendi o que voce queria dizer com outra instancia do arquivo aberto.
>
>Ao final do procedimento eu fecho a tabela de destino ( com um comando use ), então não deveria existir, concorda?
Podería haber aberto a tabela em outro procedimento.
Por exemplo, tente:
use tabela as Temp1
select 0
use tabela
Agora:
use tabela as Temp1
select 0
use tabela AGAIN
Aquí, as ordens estao no mesmo procedimiento, mas poderíam estar separadas em diferentes procedimentos.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)