Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Installing Data Replication
  4. Preparing Source and Target Systems
  5. Replication Basic Concepts
  6. InitialSync Processing
  7. Extractor and Applier Processing
  8. DDL Replication
  9. Recovery and Checkpoint Processing
  10. Configuring the Server Manager
  11. Creating Replication Configurations in the Data Replication Console
  12. Managing Replication Configurations
  13. Running Data Replications
  14. Configuring Selected Replication Types
  15. Monitoring Data Replication
  16. Maintaining the Replication Environment
  17. Troubleshooting
  18. Data Replication Files and Subdirectories
  19. Data Replication Runtime Parameters
  20. InitialSync, Extractor, and Applier Command Line Parameters
  21. Server Manager Command Line Parameters
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

Supported DDL Operations for Microsoft SQL Server Targets

Supported DDL Operations for Microsoft SQL Server Targets

The Applier task can apply the following DDL operations to Microsoft SQL Server targets:
  • ALTER TABLE
    table_name
    ADD
    column_name
    datatype
    [IDENTITY] [NULL|NOT NULL] [UNIQUE]
  • ALTER TABLE
    table_name
    ADD CONSTRAINT
    constraint_name
    PRIMARY KEY {CLUSTERED|NONCLUSTERED}
  • ALTER TABLE
    table_name
    ALTER COLUMN
    column_name
    datatype
    [NULL|NOT NULL]
  • ALTER TABLE
    table_name
    DROP COLUMN
    column_name
  • ALTER TABLE
    table_name
    DROP CONSTRAINT
    constraint_name
  • CREATE [UNIQUE] [CLUSTERED] INDEX
    index_name
    ON
    table_name
    (
    column_name
    )
  • CREATE TABLE
    table_name
    (
    column_name
    datatype
    [IDENTITY] [NULL|NOT NULL] [UNIQUE])
  • DROP INDEX
    index_name
    ON
    table_name
  • DROP TABLE
    table_name
  • SELECT * INTO
    new_table_name
    FROM
    existing_table_name
  • TRUNCATE TABLE
    table_name
Data Replication replicates RENAME COLUMN operations from Oracle sources to Microsoft SQL Server targets as the following operation:
EXEC sp_rename '
table_name
.[
old_column_name
]', '
new_column_name
', 'COLUMN'

0 COMMENTS

We’d like to hear from you!