Hello Camilla,
There can be several ways to approach this.
My suggestion would be.
Manually create a new database table to match your requirement, primary key defined, and datatype + plus assigned to each of the fields.
1. In page 1 - fetch values from excel and extract all information inside a collection stage
2. In page 2 -
Step A:
START STAGE : here you can fetch the collection from previous page (this is a design choice, you can transfer data from one page to another the way you prefer)
Step B:
ACTION STAGE : Data SQL server - set connection; here you can set connection with your database
Step C:
ACTION STAGE : Data SQL server - Execute,
INPUT : here you can use an INSERT statement, the table (previously created) along with the fields (values will be fetched in a loop from the collection and written inside data items which will then be picked by the query)
Example:
"INSERT INTO <TABLE NAME> VALUES ('"&[itemID]&"', '"&[UserName]&"')"
OUTPUT: here you can fetch success message, just to be sure that the process worked, or capture the error.