0
Another Access SQL Question
LEGEND
,
/t5/dreamweaver-discussions/another-access-sql-question/td-p/240384
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)?
my database and write those values into my new TheCode field (which is
currently blank)?
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
AUTHOR
LEGEND
,
LATEST
/t5/dreamweaver-discussions/another-access-sql-question/m-p/240385#M184701
Aug 20, 2007
Aug 20, 2007
Copy link to clipboard
Copied
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)?
>
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)?
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

