MyDAC
Dumps database objects to the SQL property.
TDADump
procedure Backup;
Call the Backup method to dump database objects. The result script will be stored in the SQL property.