Instrucción «Sesión Alterada» (alterSessionStatement)
Sintaxis
%%{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))
Propósito
Diversas sentencias para modificar las propiedades de la sesión actual de 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))
Propósito
Modifica las propiedades de la sesión actual de 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))
Propósito
Cambia el ID utilizado para imputar el uso a otro contrato, tal y como se especifica en la licencia. Se utiliza exclusivamente para el uso alojado de los productos de Invantive con el fin de asociar las estadísticas de uso relativas a los datos descargados, los datos cargados, los usuarios, los dispositivos y el uso de Particiones con los identificadores de facturación individuales. También se registra el código del contrato original.
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))
Propósito
Añade una referencia a la facturación para diferenciar el uso dentro de un mismo contrato en función de la aplicación, el departamento o la empresa operativa. Se utiliza habitualmente cuando organizaciones de mayor tamaño emplean productos de Invantive para asociar estadísticas de uso —como datos descargados, datos cargados, usuarios, dispositivos y uso de Particiones— con referencias de facturación individuales.
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))
Propósito
Utiliza un contenedor de datos no predeterminado para determinar el valor del IUID (Identificador de usuario de Invantive) que se utiliza para identificar al usuario. Se utiliza normalmente cuando el usuario real figura en un directorio de usuarios de un contenedor de datos con un número superior.
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))
Propósito
Invantive UniversalSQL ofrece funciones de seguridad avanzadas, incluida la seguridad a nivel de fila con Conectores personalizados. Establece los roles activos de una sesión.