Table of Contents

Search

  1. Preface
  2. Scripting Overview
  3. Tcl Scripting
  4. SQL Scripting

Syntax of SQL Expressions

Syntax of SQL Expressions

Data Replication inserts SQL expressions into SQL statements that run on the target database to replicate data. Ensure that the SQL expressions conform to the syntax of the target database.
For example, the standard SQL syntax for concatenation is to use the || operator. However, if you have a Microsoft SQL Server target database, use the + operator.
If you have a MySQL target database, use the CONCAT function.
Data Replication cannot process SQL expressions that use the :: construct for datatype casting. Instead, you must use explicit CAST or CONVERT requests.

0 COMMENTS

We’d like to hear from you!