Table of Contents

Search

  1. Preface
  2. Part 1: Introduction
  3. Part 2: Configuring Hub Console Tools
  4. Part 3: Building the Data Model
  5. Part 4: Configuring the Data Flow
  6. Part 5: Executing Informatica MDM Hub Processes
  7. Part 6: Configuring Application Access
  8. Appendix A: MDM Hub Properties
  9. Appendix B: Viewing Configuration Details
  10. Appendix C: Row-level Locking
  11. Appendix D: MDM Hub Logging
  12. Appendix E: Table Partitioning
  13. Appendix F: Collecting MDM Environment Information with the Product Usage Toolkit
  14. Appendix G: Glossary

SQL Syntax for Custom Queries

SQL Syntax for Custom Queries

The
Hub Console
applies some restrictions to the SQL syntax that you can use in a custom query. Beyond these restrictions, use the SQL syntax and grammar that the database supports.
The following table describes the restrictions for SQL syntax:
SQL
Restriction
Statements
A custom query must be a SELECT statement. Other SQL statements are not supported.
Column Names
Column names can contain alphanumeric characters and underscores. Spaces and other special characters are not supported.
Aliases
Alias names can contain alphanumeric characters and special characters. Spaces are not supported.
Constant Columns
To add a constant column, which is enclosed in single quotes, you must use an alias.
For example, the following query uses the alias
const_alias
:
SELECT ID,'CONST_COL' AS const_alias FROM c_party
Aggregate Functions
To add an aggregate function with a special character, you must use an alias.
For example, the following query uses the alias
new_rowid
:
SELECT rowid_object*0 AS new_rowid FROM c_party

0 COMMENTS

We’d like to hear from you!