# Get DB Profile Parameter

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-database/get-db-profile-parameter
>
> Gets a parameter of a database connection profile, such as ODBC connection, user, password, prefix or SQLite file, into a variable.

**Get DB Profile Parameter**

Retrieves the value of the specified Database Connection Profile Parameter.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

## Parameters

* **Database Connection Profile -** Database Connection Profile from you want to retrieve the Parameter value.
* **Parameters -** The parameter you want to get the value from. The displayed parameters depend on the nature of the Database Connection Profile. For more details, check the [**Database Connection Profile**](https://doc.sysdevmobile.com/kalipso/6.1/documentation/environment/project-explorer/database.md) chapter.
* **Target** _\<target> -_ Control or Variable where to assign the returned value.

**Database Connection Profile with ODBC Connection**

* **ODBC Connection** - Name of the ODBC connection.
* **User** - Database user.
* **Password** - Database password.
* **Prefix** - Database Prefix. (Owner, schema, etc)

**Database Connection Profile with SQLite Native Access**

* **Database Name** - Name that will identify the Database.
* **Database File** - Full path to the SQLite database file.
* **Password** - SQLite database Password.

## Usage

Consider the following Database Connection Profile:

| **Database Connection Profile** |                   |
| ------------------------------- | ----------------- |
| **Profile's Name**              | KalipsoDB         |
| **ODBC Connection**             | KalipsoConnection |
| **User**                        | kalipso           |
| **Password**                    | 1234              |
| **Prefix**                      | kc                |

### **Example 1**

|                                 |           |
| ------------------------------- | --------- |
| **Database Connection Profile** | KalipsoDB |
| **Parameters**                  | User      |
| **Target**                      | Var(0)    |

_Result:_

| **Target** | **Value** |
| ---------- | --------- |
| Var(0)     | kalipso   |

### **Example 2**

|                                 |           |
| ------------------------------- | --------- |
| **Database Connection Profile** | KalipsoDB |
| **Parameters**                  | Password  |
| **Target**                      | Var(1)    |

_Result:_

| **Target** | **Value** |
| ---------- | --------- |
| Var(1)     | 1234      |

:::info
See [**Database Connection Profile**](https://doc.sysdevmobile.com/kalipso/6.1/documentation/environment/project-explorer/database.md) chapter for more information.
:::
