---
title: "SQL Parameters"
description: "How the SQL statements of Invantive Data Access Point use the HTTP parameters of a request as bind variables."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-data-access-point/sql-parameters
original: https://documentation.invantive.eu/en/docs/invantive-data-access-point/sql-parameters
updated: 2026-11-25T00:00:00Z
license: https://documentation.invantive.eu/en/
---

The SQL statements can use parameter values. The value of a parameter is available by the use of the bind variable `:NAME` in the SQL statement.

These parameters consist of all HTTP parameters provided through GET and/or POST, and must also have been defined in the preset file. Names starting with `DAP` are reserved for the predefined parameters below: a parameter with such a name in the request is ignored.

Besides the parameters defined by the user and/or developer, SQL statements can use various predefined parameters:
- database parameters,
- preset parameters,
- server parameters,
- URL parameters.

## Reserved Parameter Names
The following parameter names are reserved for use by Invantive Data Access Point itself:
- `connection`
- `contenttype`
- `contentfilename`
- `format`
- `includeheaders`
- `usetechnicalheaders`
- `password`
- `preset`
- `printparameters`
- `query`
- `user`

## URL Parameter Values
The following parameter values are defined and set to match the URL of the HTTP request:
- `DAPURIOriginalString`: the original value.
- `DAPURIAbsolutePath`: the absolute path.
- `DAPURIHost`: the host name.
- `DAPURILocalPath`: the local path.
- `DAPURIPathAndQuery`: the path and query.
- `DAPURIPort`: the port number.
- `DAPURIQuery`: the query.
- `DAPURIScheme`: the scheme.
- `DAPURIUserInfo`: the user information.

## Database Parameter Values
The following parameter values are based upon the user as set for the Invantive database:
- `DAPUserInfoCompanyID`: the company ID.
- `DAPUserInfoCompanyName`: the company name.
- `DAPUserInfoCompanyPhone`: the company phone number.
- `DAPUserInfoCompanyWebSite`: the company web site.
- `DAPUserInfoEmailAddress`: the email address.
- `DAPUserInfoFirstName`: the first name.
- `DAPUserInfoFullName`: the full name.
- `DAPUserInfoGender`: the gender.
- `DAPUserInfoLanguage`: the user interface language.
- `DAPUserInfoLastLogon`: the last log on moment.
- `DAPUserInfoLastName`: the last name.
- `DAPUserInfoLinkedIn`: the LinkedIn profile.
- `DAPUserInfoLogOnCode`: the log on code.
- `DAPUserInfoMiddleName`: the middle name.
- `DAPUserInfoMobileNumber`: the mobile phone number.
- `DAPUserInfoNationality`: the nationality.
- `DAPUserInfoPhoneNumber`: the phone number.
- `DAPUserInfoPictureUrl`: the picture (URL).
- `DAPUserInfoSkype`: the Skype profile.
- `DAPUserInfoTitle`: the title.
- `DAPUserInfoTwitter`: the Twitter profile.
- `DAPUserInfoWebSite`: the web site.

## Preset Parameter Values
The following parameter values are based upon the current preset file:
- `DAPDeviatingConnectionName`: the forced different full connection name.
- `DAPDeviatingContentType`: the forced different content type of the output.
- `DAPDeviatingContentFileName`: the forced different content file name of the output.
- `DAPIncludeHeaders`: whether to include headers in the output.
- `DAPPresetFileName`: the file name.
- `DAPPresetSQLHash`: SHA-256 of the SQL text of the preset as 64 lowercase hexadecimal characters, computed after removing a byte-order mark and turning every line ending into LF; null when the request is not served from a preset. It names a version of the text and is not a signature.
- `DAPPresetAction`: the action.
- `DAPPresetCode`: the code.
- `DAPPresetConnectionName`: the full name of the connection.
- `DAPPresetContentType`: the content type of the output.
- `DAPPresetFormat`: the format.
- `DAPPresetSQLFile`: the SQL file name.
- `DAPPresetSQLStatement`: the SQL statement.
- `DAPPresetIncludeHeaders`: whether to include headers in the output.
- `DAPPresetHeaderFormat`: the header format of the output.
- `DAPPresetPrintParameters`: whether to print parameters and their values in the output.
- `DAPPrintParameters`: whether to print and their values in the output.
- `DAPSQLFile`: the SQL file name.
- `DAPUseTechnicalHeaders`: whether to use technical headers in the output (column name) instead of user-friendly label.

## Request Header Values
The following parameter values are based upon the HTTP headers of the request. They are whatever the caller sends, so use them to attribute an action to a client and never to decide what a caller may do:
- `DAPHttpAcceptLanguage`: the languages the browser prefers, from the Accept-Language header; null when the header is absent. Cut at 250 characters.
- `DAPHttpUserAgent`: the user agent of the client, from the User-Agent header; null when the header is absent. Cut at 500 characters.

## Server Parameter Values
The following parameter values are based upon the server configuration:
- `DAPSystemIPAddressDeviceExternal`: the external IP address of the web server.
- `DAPSystemIPAddressDeviceInternal`: the internal IP address of the web server.
- `DAPSystemIPAddressUserExternal`: the external IP address of the current user.
- `DAPSystemIPAddressUserInternal`: the internal IP address of the current user.
- `DAPShowConfidentialDetails`: whether to include confidential details.

## Release Notes

- [Invantive Data Access Point](/en/release-notes/products/invantive-data-access-point)
  - [26.0 to 27.0](/en/release-notes/products/invantive-data-access-point?step=26.0-to-27.0)
  - [25.0 to 26.0](/en/release-notes/products/invantive-data-access-point?step=25.0-to-26.0)

