Retrieving Database Records
Automate database record retrieval with the Database Book.
Overview
These procedures allow you to get and retrieve records from a database.
Retrieving All Records
To retrieve all the records from a specific table in your database, use the following syntax, replacing table
with the table name.
Syntax
Examples
Retrieving Specific Records
To retrieve specific records from a database table, you can specify filter conditions.
Using a Filter Condition
Use the whose
keyword followed by the condition for which to filter.
Syntax
Examples
Using Multiple Filter Conditions
You can combine multiple filter conditions using the and
keyword.
Example
Note: This is the only procedure that supports retrieving database records with multiple column filters.
Storing Retrieved Records
After retrieving records from the database, you can store them in an automation for later reference. To do this, use the following phrase, replacing plural data name
with any meaningful plural term.
To reference a specific record within the retrieved database records, write an additional line using positional keywords like first
, second
, etc.
Example
In the following example:
All the retrieved database records from the query are stored as
the records
.Only the first database record is stored as
the employee
.
Last updated
Was this helpful?