InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

Alter Session ステートメント (alterSessionStatement)

構文

%%{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))

目的

現在のInvantive UniversalSQLセッションのプロパティを変更するさまざまなステートメント。

alterSessionSetStatement

%%{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))

目的

現在のInvantive UniversalSQLセッションのプロパティを変更します。

alterSessionSetBillingId

%%{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))

目的

ライセンスで規定されたとおり、利用料金を別の契約に請求するために使用するIDを変更します。 Invantive製品のホスト型利用に限って、ダウンロードされたデータ、アップロードされたデータ、ユーザー、デバイス、パーティションの利用に関する利用統計を、個別の請求IDに関連付けるために使用します。 元の契約コードも登録されます。

alterSessionSetBillingReference

%%{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))

目的

1つの契約内でアプリケーション、部門、または事業会社ごとの利用を区別するために、請求用の参照を追加します。 通常は、より大規模な組織がInvantive製品を利用する場合に使用され、ダウンロードされたデータ、アップロードされたデータ、ユーザー、デバイス、パーティションの利用に関する利用統計を、個別の請求参照に関連付けます。

alterSessionSetIuidSourceAlias

%%{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))

目的

デフォルト以外のデータコンテナを使用して、ユーザーを識別するために使われるIUID(Invantive User ID)の値を決定します。 通常は、実際のユーザーが、より大きな番号のデータコンテナのユーザーディレクトリに存在する場合に使用されます。

alterSessionSetRoles

%%{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))

目的

Invantive UniversalSQLは、カスタムコネクタによる行レベルセキュリティを含む高度なセキュリティ機能を提供します。 セッションのアクティブなロールを設定します。