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

表

tableSpec

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    tableSpec_start((START))
    tableSpec_start --> tableSpec_0_0[fullTableIdentifier]
    tableSpec_0_0 --> tableSpec_0_1[distributedAliasDirective]
    tableSpec_0_1 --> tableSpec_end((END))

目的

パラメータなしのテーブル指定です。 オプションの別名(@の後)は、使用する特定のデータソースを指定します。例えば、'exactonlinerest..journals@eolbe'は、データベース定義(Settings)で'eolbe'がExact Online Belgiumに関連付けられている場合に、Exact Online Belgiumを使用することを指定します。 Settings

'datadictionary'のように別名で使用される、特別な「サービスプロバイダー」と呼ばれるものが多数、常に存在します。

tableOrFunctionSpec

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart TD
    tableOrFunctionSpec_start((START))
    tableOrFunctionSpec_start --> tableOrFunctionSpec_0_0[fullTableIdentifier]
    tableOrFunctionSpec_0_0 --> tableOrFunctionSpec_0_1[distributedAliasDirective]
    tableOrFunctionSpec_0_1 --> tableOrFunctionSpec_0_2[tableFunctionSpec]
    tableOrFunctionSpec_0_2 --> tableOrFunctionSpec_0_3[distributedAliasDirective]
    tableOrFunctionSpec_0_3 --> tableOrFunctionSpec_end((END))

目的

行を取得するために、カンマ区切りのパラメータリストを必要とするテーブル指定です。

従来のSQL構文では、集合論に即したパラメータ化クエリは規定されていませんでした。 パイプライン化されたテーブル関数などの現代的な方式では、ストアドプロシージャやその他の命令型言語ベースのアプローチにより、パラメータ値に基づいて行を生成できます。 多くのデータコンテナは、パラメータ値に基づいて行を返すクエリをサポートしています。 これは特にSOAP Webサービスに当てはまります。 パラメータ付きのテーブル指定により、このようなデータコンテナに対するクエリが容易になります。

オプションの別名(@の後)は、使用する特定のデータソースを指定します。例えば、'exactonlinerest..journals@eolbe'は、設定ファイルのデータベース定義で'eolbe'がExact Online Belgiumに関連付けられている場合に、Exact Online Belgiumを使用することを指定します。

tableFunctionSpec

%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    tableFunctionSpec_start((START))
    tableFunctionSpec_start --> tableFunctionSpec_0_0["("]:::quoted
    tableFunctionSpec_0_0 --> tableFunctionSpec_0_1[numberedOrNamedExpressionList]
    tableFunctionSpec_0_1 --> tableFunctionSpec_0_2[")"]:::quoted
    tableFunctionSpec_0_2 --> tableFunctionSpec_end((END))

目的

位置または名前で識別される、パラメータ値式のリストです。これにより、tableOrFunctionSpecで取得する行を決定します。