Examples RECORD usage examples. Example 1: Defining a record with explicit member types This example shows a simple record definition with built-in types. Example 2: Defining a record with a database table structure This example shows how to define a record with members using the same types as database columns. Example 3: Assigning an comparing records This example shows how to use records with comparison and assignment operators.