What value do you want to be in $Where?
As to how to tell what is prefix, I don't know enough about your data. Is a 1 letter entry always a prefix?
You can always use LIKE and % but it will hurt the efficiency of your queries. That may not matter to you.
In reply to Re^3: wild cards in Vertica
by GotToBTru
in thread wild cards in Vertica
by pragov
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |