SAVE LOOKUP Statement |
The SAVE LOOKUP statement saves a lookup that has previously been created using the CREATE LOOKUP statement.
Tip |
---|
For information about the lookup table, see the lookup function |
SAVE LOOKUP ident AS filename;
ident | The identifier for this lookup table |
filename | The path to the file that the lookup should be saved to |
This simple example saves a lookup on post (ZIP) codes by city, which has been previously created.
SAVE LOOKUP cityFromPostcode AS "Lookups\CityFromPostcode.db";
You can then use the statement LOAD LOOKUP to retrieve the saved lookup at a later time.