Foreign Key (Auto Assigned) Generator
Last modified: October 1, 2024
The Foreign Key (Auto Assigned) Generator can be automatically assigned to a column for which a FOREIGN KEY constraint is defined. The Foreign Key (Auto Assigned) Generator generates foreign key values for a child table column based on the values contained in a parent table column.
The dialog box of the Foreign Key (Auto Assigned) Generator contains Basic Settings and custom settings. You can customize the generator by changing the basic and custom settings.
Custom settings
Foreign Key
Specifies the name of the generated foreign key and a link to a parent table column.
Set up the parent table
You can generate specific values for the parent table column referenced by the child table column:
- Click the link (mentioned above) to jump to the parent table column.
- Select the check-box next to the column.
- Select the required generator from the list of available generators;
- Configure settings of the generator using Basic Settings and custom settings specific to this generator.
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for SQL Server.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.