• Go to your source database to generate;

    Excerpt your desired snippet of script;

    Run it on your target database.