we are really trying to create an interger key equilvalent into a legacy system that for some wierd reason only accepts integers in a field that is deeply entrenched in numerous applications.
it should generate the same integer all the time. I.e. the string would always convert to the same integer. AND a different string would never convert to that integer.
It doesn't matter what the integer value is -- it just needs to be unique and the algorithm shoulod always translate the same string to the same integer value..
Is there a way to convert an alphanumeric string in a vchar field to a unique integer value. The string could contain alpha,numbers,'.','-','_',etc..... ????
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.