First create a script to create tables, keys, indexes. If you right-click on the database, in the context menu you can click on the creation of a script in the database to invoke the wizard.
script . , , SSIS (aka DTS) , .
. FOREIGN KEYS, , SSIS !
, sql, , GO , ( ).