Table of Contents

Search

  1. About the Data Vault SQL Reference
  2. Introduction to SQL Reference for Informatica Data Vault
  3. Date and Time Arithmetic
  4. WHERE Clauses
  5. UNION Operator
  6. Parameterized Query
  7. Functions

Data Vault SQL Reference

Data Vault SQL Reference

Guidelines for Using Parameterized Queries

Guidelines for Using Parameterized Queries

You can include parameters in any type of query.
Use the following guidelines when you include parameters in your queries:
  • You must use a question mark (?) as a placeholder.
  • When you use a placeholder with an operator or a predicate, only one side of the expression can use a placeholder. One side of the operation must always contain a value for which the Data Vault Service can determine the datatype.
    For example, the following query is valid:
    SELECT account_balance FROM users WHERE user_name = ?;
    The following query is not valid:
    SELECT account_balance FROM users WHERE ? <= ?;

0 COMMENTS

We’d like to hear from you!