I exported the whole database into a batch file. The tables in the database have foreign key referencial integrity constraint. The tables are in alphabetical order in the script generated, therefore the script might not be generated in a “parent-table first, child-table later” manaer. Since the parent table must be created before the child table can be created, this makes the generated script un-runnable.
Another complain is the coding style of the script. It is not pretty-printed and keywords are not in upper case.