How to export to a database The export-to-database tool exports a segment to a new table in the analytical database engine. You must select the database in which you want to create the new table, the name of the new table, and the fields to create in the destination table.