Creating Unique Values - Introducing InterBase Generators to make an Automatic Primary Key

Von: Tim DelChiaro

Inhaltsangabe: In this tutorial, we will introduce Generators with an example that will combine with a trigger to create unique values for a record as its inserted into the databas

In this tutorial, we will introduce Generators with an example that will combine with a trigger to create unique values for a record as its inserted into the database. Generators are unique Integer values that are specific to each database. You can use Generators from negative Integer to positive Integer to get unique values for use in, for example, primary keys. Using Generators is a positive thing as they are managed by the database to ensure their uniqueness. You can have multiple Generators on any database. Part of the InterBase Labs video series.

Download a free trial or free non-expiring Developer Edition of InterBase and get started today!

See more videos in the InterBase Labs tutorial series

Hide image
InterBase Labs
Click to see full-sized image

Serverantwort von: ETNASC01