How to store user data from database into Variable/Array

I am connecting to SQL Database

Check out this link for Oracle connection strings

https://www.connectionstrings.com/oracle/

Hope the below links help you.