Hi,
Follow the below steps to submit the data to the data base using a button.
1. Take the main data connection as data base connection.
2. Take a button and change the action to ‘Submit’.
3. Click Submit Options, and choose ‘select data to a single destination’ and in the below drop down select data base.