This is going to sound daft, but I need to create a hexadecimal string from the identity column of my table. Essentially, this code will prefix a login name so needs to be short, but allow many values. Best we don't dwell on the details of this, just suffice to say that this needs to happen!
So a urn of 16789 will create a prefix code for all employees of this company of "4195"
So we can have "4195john.smith", and "4F3Cjohn.smith" to represent two users from different companies.
The thing is, I can't seem to mess with the cast/convert functions to create this string. Any ideas? Derren
[Mediocre talent - spread really thin]
So a urn of 16789 will create a prefix code for all employees of this company of "4195"
So we can have "4195john.smith", and "4F3Cjohn.smith" to represent two users from different companies.
The thing is, I can't seem to mess with the cast/convert functions to create this string. Any ideas? Derren
[Mediocre talent - spread really thin]