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