On Thu, Oct 20, 2011 at 4:57 PM, Raymond O'Donnell <rod@xxxxxx> wrote:
Not sure what you mean by the above...
Ray.
This is what I thought it was doing.
1. it gets the node from the first row
2. measures its length
3. then loops through removing one character at a time and comparing that to the whole column/query
4. for threeee it found a match in threee
then the function starts over for the next row
1. it gets the node from the second row
2. measures the length of the string
3. then loopse ....
4. ...
so it is the step 2 that looks like is not getting reset with each new nnodetestt(node) in the select statement when it calls the function.