[firebase-br] substring - help

Leonardo Baldino portaldoinferno em gmail.com
Qui Ago 6 16:29:59 -03 2009


vlw pela ajuda

2009/8/6 Moacir - GMail <prismars em gmail.com>

> Leonardo,
>
> Select * from MinhaTabela where Substring(CampoA from 1 for 5)='TESTE'
>
> Mas vc tem muitas outras opções
>
> Select * from MinhaTabela where CampoA  starting 'TESTE' //-- Iniciando
> por...
>
> Select * from MinhaTabela where CampoA  Like 'TESTE%'  //-- Iniciando
> por...
>
> Select * from MinhaTabela where CampoA  Like '%TESTE' //-- Terminando por
>
> Select * from MinhaTabela where CampoA  Like '%TESTE' //-- Contendo em
> qualquer posição
>
> Select * from MinhaTabela where CampoA  containing 'TESTE' //-- Contendo em
> qualquer posição
>
> Sucesso !!
>
> Moacir
>
>
> Leonardo Baldino escreveu:
>
>> alguem sabe como eu faço um select que usa substring no where
>>
>>
>>
>
> ______________________________________________
> FireBase-BR (www.firebase.com.br) - Hospedado em www.locador.com.br
> Para saber como gerenciar/excluir seu cadastro na lista, use:
> http://www.firebase.com.br/fb/artigo.php?id=1107
> Para consultar mensagens antigas: http://firebase.com.br/pesquisa
>



-- 
Leonardo Carlos Baldino - The Highlander



Mais detalhes sobre a lista de discussão lista