Тёмный

How to Replace a Natural Key with a Surrogate Key (Autonumber) in Microsoft Access 

Computer Learning Zone
Подписаться 235 тыс.
Просмотров 1,8 тыс.
50% 1

In this Microsoft Access tutorial I'm going to teach you how to replace a Natural Key, such as a phone number, social security number, product code, etc. with a Surrogate Key (Autonumber).
Stacey from Enfield, Connecticut (a Silver Member) writes: I am planning to replace my primary key of a major table in my database that is in production, with an autonumber as recommended in the Access Expert classes. I will have a lot of relationships to update after the fact. Any advice or tips would be appreciated. I use a number generated by another system, but have to manually enter it. The table is related to a handful of others.
Marko from Valrico, Florida (a Platinum Member) writes: I'm pondering the same exact question. I have a main table with a manual primary key and that drives all my other tables. The primary key is a lot id. It's a permanent id assigned to a piece of property and can never change and I thought I was safe with it; however if I take on more clients there may be issues with the lot id as primary key. The key is set up as an address of 2575 Smith Lane would get a lot id of 2575SL.
BECOME A MEMBER:
RU-vid: / @599cd
or My Site: 599cd.com/THMember
LEARN MORE:
599cd.com/ReplaceNaturalKey
PREREQUISITES:
Relationships: 599cd.com/Relationships
Update Queries: 599cd.com/UpdateQ
LINKS:
AutoNumbers Good or Bad?: 599cd.com/GoodOrBad
Other Autonumber Videos: 599cd.com/AutoNumbers
RECOMMENDED COURSES:
Access Expert 1: 599cd.com/acx1
Relationship Seminar: 599cd.com/RelationshipSeminar
Action Queries: 599cd.com/ActionQuery
FREE TEMPLATE DOWNLOADS:
TechHelp Free Templates: 599cd.com/THFree
Blank Template: 599cd.com/Blank
Contact Management: 599cd.com/Contacts
Order Entry & Invoicing: 599cd.com/Invoicing
More Access Templates: 599cd.com/AccessTemplates
ADDITIONAL RESOURCES:
FREE Access Beginner Level 1: 599cd.com/Free1
How to Use Access in 30 Minutes: 599cd.com/30Minutes
$1 Access Level 2: 599cd.com/1Dollar
Donate to my Tip Jar: 599cd.com/TipJar
Get on my Mailing List: 599cd.com/YTML
Contact Me: 599cd.com/Contact
TechHelp: 599cd.com/TechHelp
Consulting Help: 599cd.com/DevNet
Twitter: / learningaccess
en.wikipedia.org/wiki/Microso...
products.office.com/en-us/access
microsoft.com/en-us/microsoft...
KEYWORDS:
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, Natural key, surrogate key, autonumber, primary key, pk, foreign key, fk, replace a natural key with an autonumber
QUESTIONS:
Please feel free to post your questions or comments below. Thanks.

Опубликовано:

 

10 май 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@khalil547
@khalil547 Год назад
Thanks Richard! I like your way to state on how important to back up data first! A great sense of responsibility ! We learned something new today! Thx again!
@599CD
@599CD Год назад
Welcome
@toml7682
@toml7682 Год назад
I've been struggling with normalizing table relationships and I wasn't sure how to solve the problem. Although I thought about asking ChatGPT for ideas, it seemed too complicated to explain the entire scenario in words. However, today on RU-vid, I stumbled upon a video by the great teacher Richard, which has inspired me. As someone new to Access, I'm trying to centralize all my data, including online subscriptions and account information, for better organization and easier searching. I have high hopes that this will reduce the digital clutter in my life.
@stephenbeswick2163
@stephenbeswick2163 Год назад
Excellent video steve b
@599CD
@599CD Год назад
Thanks
Далее
They got a Golden Buzzer 🤣✨
00:46
Просмотров 23 млн
2DROTS vs WYLSACOM! КУБОК ФИФЕРОВ 1 ТУР
07:25
Elden Ring DLC - ПОДОЖГЛО ПОПУ!
07:26
Просмотров 510 тыс.
To Surrogate Key or Not...
3:55
Просмотров 15 тыс.
Back Up Ms Access Automatically
13:26
Просмотров 7 тыс.
Twitter Wars! Natural vs Surrogate Keys
6:30
Просмотров 1,6 тыс.
They got a Golden Buzzer 🤣✨
00:46
Просмотров 23 млн