Usando o like normal: 1 2 select firstonly purchTable where purchTable.purchId like ’09*’; Quando você quiser ter todos os outros registros (not like), no X++ você tem 3 possibilidades: 1.!LIKE : 1 2 select firstonly purchTable where !(purchTable.purchId like ’09*’); 2. notExists join : 1 2 3 select firstonly purchTable notExists join refPurchTable where purchTable.purchId [...]
No ax é possível usar o like em uma instrução IF como podemos ver abaixo: 1 2 3 4 5 6 7 static void ifWithLike(Args _args) { str myValue = ’2009′; ; if(myValue like ‘*09′) info("Hello Word!"); } []s Pichler
| Rio De Janeiro, Brazil | 2 |
| Osasco, Brazil | 1 |
| Amman, Jordan | 1 |
| Curitiba, Brazil | 1 |