Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Another Access SQL Question

LEGEND ,
Aug 17, 2007 Aug 17, 2007

Copy link to clipboard

Copied

How do I generate a 5-digit alphanumeric code for each of the 500 records in
my database and write those values into my new TheCode field (which is
currently blank)?


TOPICS
Server side applications

Views

221
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 20, 2007 Aug 20, 2007

Copy link to clipboard

Copied

LATEST
You'll have to generate it elsewhere and update the table. If Access has
GUID columns (I don't think it does), one pretty easy way would be to take
the rightmost 5 characters of a GUID cast to a string. I think you're going
to be stuck doing it yourself, though. Or downloading a copy of SQL Server
Express... ;)


"Jason Cook" <jason@gcstulsa.com> wrote in message
news:fa580k$sl2$1@forums.macromedia.com...
> How do I generate a 5-digit alphanumeric code for each of the 500 records
> in my database and write those values into my new TheCode field (which is
> currently blank)?
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines