How to do anonymization in a varchar column in Sybase ASE ? I want to use the update query
The column is already fulfilled and I just want to anonymize the column with random characters.
Thanks in advance.
Best regards.
How to do anonymization in a varchar column in Sybase ASE ? I want to use the update query
The column is already fulfilled and I just want to anonymize the column with random characters.
Thanks in advance.
Best regards.
Setting up some example data:
You can use
newid()and some string maniuplation functions to generate a random string of characters, for example with a length of 8:If you want to more or less guarantee uniqueness of the values and/or need to maintain some kind of relational nature of them, you can use the whole GUID (as long as your target field is at least 32 characters wide):