use the delphi's tool SQL explorer. or use power designer.
or use the export with the parameter ROWS=N, it will export all of the data structure, including table definition, index, trigger, procedure...etc.exp username/password@service_name file= rows=n
这一步是dba工作.
or use power designer.