This function creates a dataset populated with the results of an aSQL query, and is commonly used with SQL statements that return a dataset e.g. Select or Exec (when a procedure returns dataset).
The SQL query is executed against a DB Connection on the Destination side of the Map.
The dataset starts out populated with data from the results of the SQL query, and you can work with those records as necessary.
Refer to Dataset Class (TDataset) for information on what you can do with the dataset.