Re: Generate Unique Identifier
- From: "Jan Hyde (VB MVP)" <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 03 Jan 2008 14:54:01 +0000
Laks <Laks@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts were
released on Thu, 3 Jan 2008 06:41:09 -0800 bearing the
following fruit:
Hi Jan
I am creating a Description column based on concatination of 4 columns in a
database like for e.g. (not the real life one though it is more complex)
Column 1 = 'This'
Column 2 = 'Is'
Column 3 = 'my'
Column 4 = 'table'
so the description column is 'This Is my table' and I need to generate an
Alphanumeric Code like I mentioned which is 6 Characters wide and on each
generation it must have the same unique identifier for this string.
The reason why I have these restrictions because this is a part of the huge
system and this needs to fit into it.
That doesn't really answer my question. I think it would be
difficult for anyone to help you without more detailed
information.
for example, is the first character is meant to represent
the first word? If so how many possible first words can
their be?
J
Regards
Laks
"Jan Hyde (VB MVP)" wrote:
Laks <Laks@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts were
released on Thu, 3 Jan 2008 03:46:01 -0800 bearing the
following fruit:
Hi
I want convert a String in a Database to a six digit Alphanumeric Code, 4
Characters and 2 Digits. The string can be of variable length of upto 50
Characters, but this string value is unique to the Table.
Example 'This is my Table', 'This may be your query' I want to convert this
into a 6 digit code like 'XSDH90' and 'GHJI24', can anyone please provide me
with the algorithm, I am okay with any language.
I'm not sure that it's possible. Why would you want to do
this?
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde
.
- Follow-Ups:
- Re: Generate Unique Identifier
- From: Laks
- Re: Generate Unique Identifier
- References:
- Re: Generate Unique Identifier
- From: Jan Hyde (VB MVP)
- Re: Generate Unique Identifier
- Prev by Date: Re: Hurrey!!!! I've found it!!!!
- Next by Date: Re: Error 91: Object variable or With block variable not set
- Previous by thread: Re: Generate Unique Identifier
- Next by thread: Re: Generate Unique Identifier
- Index(es):
Relevant Pages
|