---
title: "P\u0159\u00EDkaz Alter Session (alterSessionStatement)"
description: "R\u016Fzn\u00E9 p\u0159\u00EDkazy pro zm\u011Bnu vlastnost\u00ED aktu\u00E1ln\u00ED relace Invantive UniversalSQL."
language: cs
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/cs/docs/invantive-universalsql/grammar/statement-types/alter-session-statement-altersessionstatement
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/statement-types/alter-session-statement-altersessionstatement
updated: 2026-12-04T15:03:54Z
license: https://documentation.invantive.eu/cs/
---

## Syntaxe
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> alterSessionStatement
    alterSessionStatement -->| | alterSessionSetStatement
    alterSessionSetStatement --> End((END))
```

## Účel

Různé příkazy pro změnu vlastností aktuální relace Invantive UniversalSQL.

## alterSessionSetStatement

```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    alterSessionSetStatement_start((START))
    alterSessionSetStatement_start --> alterSessionSetStatement_0_0[ALTER]:::quoted
    alterSessionSetStatement_0_0 --> alterSessionSetStatement_0_1[SESSION]:::quoted
    alterSessionSetStatement_0_1 --> alterSessionSetStatement_0_2[SET]:::quoted
    alterSessionSetStatement_0_2 --> alterSessionSetStatement_0_3[alterSessionSetBillingId]
    alterSessionSetStatement_0_3 --> alterSessionSetStatement_0_4[alterSessionSetBillingReference]
    alterSessionSetStatement_0_4 --> alterSessionSetStatement_0_5[alterSessionSetIuidSourceAlias]
    alterSessionSetStatement_0_5 --> alterSessionSetStatement_0_6[alterSessionSetRoles]
    alterSessionSetStatement_0_6 --> alterSessionSetStatement_end((END))
```

## Účel

Změna vlastností aktuální relace Invantive UniversalSQL.

## alterSessionSetBillingId

```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    alterSessionSetBillingId_start((START))
    alterSessionSetBillingId_start --> alterSessionSetBillingId_0_0[BILLING]:::quoted
    alterSessionSetBillingId_0_0 --> alterSessionSetBillingId_0_1[ID]:::quoted
    alterSessionSetBillingId_0_1 --> alterSessionSetBillingId_0_2[expression]
    alterSessionSetBillingId_0_2 --> alterSessionSetBillingId_end((END))
```

## Účel

Změna ID použitého k účtování využití jiné smlouvě, jak je uvedeno v licenci. Používá se výhradně pro hostované použití produktů Invantive k přiřazení statistik využití stahovaných dat, nahrávaných dat, uživatelů, zařízení a využití oddílů k jednotlivým fakturačním ID. Původní kód smlouvy je také zaznamenán.

## alterSessionSetBillingReference

```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    alterSessionSetBillingReference_start((START))
    alterSessionSetBillingReference_start --> alterSessionSetBillingReference_0_0[BILLING]:::quoted
    alterSessionSetBillingReference_0_0 --> alterSessionSetBillingReference_0_1[REFERENCE]:::quoted
    alterSessionSetBillingReference_0_1 --> alterSessionSetBillingReference_0_2[expression]
    alterSessionSetBillingReference_0_2 --> alterSessionSetBillingReference_end((END))
```

## Účel

Přidejte odkaz na fakturaci pro rozlišení použití v rámci jedné smlouvy podle aplikace, oddělení nebo provozní společnosti. Obvykle se používá pro použití produktů Invantive většími organizacemi k přiřazení statistik využití stahovaných dat, nahrávaných dat, uživatelů, zařízení a využití oddílů k jednotlivým fakturačním odkazům.

## alterSessionSetIuidSourceAlias

```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    alterSessionSetIuidSourceAlias_start((START))
    alterSessionSetIuidSourceAlias_start --> alterSessionSetIuidSourceAlias_0_0[IUID]:::quoted
    alterSessionSetIuidSourceAlias_0_0 --> alterSessionSetIuidSourceAlias_0_1[SOURCE]:::quoted
    alterSessionSetIuidSourceAlias_0_1 --> alterSessionSetIuidSourceAlias_0_2[expression]
    alterSessionSetIuidSourceAlias_0_2 --> alterSessionSetIuidSourceAlias_end((END))
```

## Účel

Použije datový kontejner jiný než výchozí k určení hodnoty IUID (Invantive User ID) použité k identifikaci uživatele. Obvykle se používá, když je skutečný uživatel dostupný v uživatelském adresáři datového kontejneru s vyšším číslem.

## alterSessionSetRoles

```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    alterSessionSetRoles_start((START))
    alterSessionSetRoles_start --> alterSessionSetRoles_0_0[ROLES]:::quoted
    alterSessionSetRoles_0_0 --> alterSessionSetRoles_0_1[DEFAULT]:::quoted
    alterSessionSetRoles_0_1 --> alterSessionSetRoles_0_2[roleIdentifier]
    alterSessionSetRoles_0_2 --> alterSessionSetRoles_0_3[","]:::quoted
    alterSessionSetRoles_0_3 --> alterSessionSetRoles_0_4[roleIdentifier]
    alterSessionSetRoles_0_4 --> alterSessionSetRoles_end((END))
```

## Účel

Invantive UniversalSQL nabízí pokročilé bezpečnostní funkce včetně zabezpečení na úrovni řádků s vlastními konektory. Nastavuje aktivní role relace.

