I have a DB with a data table, said table contains 2 columns, one for name and another for password, where I store various data to access various sites, I would like to know how I do to obtain each row of said columns and be able to store them in memory to use them on the different websites.

Download UiPath.Database.Activities package.

Use the Execute Query activity to save the results in a datatable which you can use as necessary in your workflow.