Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  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

Reusing Virtual Columns in Other Tables

Reusing Virtual Columns in Other Tables

In the Data Replication Console, you can define an expression and virtual column once and reuse them in other tables. This practice helps you save time in implementing an expression across multiple tables.
  1. On the
    Map Tables
    tab, select the mapped source table to which you previously added a virtual column.
  2. Click the
    Show Virtual Columns
    icon button above the source tables filter field, or right-click the source table row and click
    Show Virtual Columns
    .
    The
    Virtual Columns for <table_name>
    dialog box appears.
    Virtual Columns for SRCANTON_SRC table dialog box
  3. Select the virtual column that you want to reuse and click
    Reuse
    .
    The
    Reuse Virtual Column
    dialog box appears.
    Reuse Virtual Column dialog box
  4. In the
    Schema/owner
    field, enter the schema or owner name of the source tables in which you want to reuse the virtual column.
  5. To filter the list of tables, enter the first few letters of the source table names in the
    Filter
    field.
    For case-sensitive filtering, enclose the filter value in double quotation marks.
  6. To show only the mapped tables, select
    Show mapped tables only
    .
  7. Select the tables in which you want to reuse the virtual column.
    • To select all of the tables, click
      Select All
      .
    • To select tables individually, select the
      Select
      check box next to each table name.
    If you want to deselect all of the tables, click
    Clear All
    . To deselect one or more tables individually, clear the
    Select
    check box for each table.
  8. Click
    OK
    .
    In the
    Virtual Columns for <table_name>
    dialog box, the
    Tables that include the same virtual column
    box shows the tables that you selected in Step 7.

0 COMMENTS

We’d like to hear from you!