The Generate SQL Script wizard, Step 1 of 2 dialog box, where you can set the target Database version. This is the database where the SQL script will be scheduled.