ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Is_Replicated

  • Definition
  • Syntax
  • Return type
  • Examples

Definition

Is_Replicated takes a table as an input parameter and returns TRUE if the table participates in a geodatabase replica. If the table does not participate in a geodatabase replica, Is_Replicated returns FALSE.

Syntax

<geodatabase administrator schema>.is_replicated (<table owner>, <table name>)

In most geodatabases, the geodatabase administrator schema is sde. However, it is dbo in dbo-schema geodatabases in SQL Server, and in user-schema geodatabases in Oracle, it is the name of the user's schema.

Return type

String

Examples

The following are examples of using the Is_Replicated function in each supported database type.

The first example queries the birds table owned by bio to determine if it participates in a replica.

The second example queries the species table owned by bio to determine if it participates in a replica. The species table is not replicated; therefore, FALSE is returned.

Db2

VALUES sde.is_replicated('BIO', 'BIRDS')

TRUE
VALUES sde.is_replicated('BIO', 'SPECIES')

FALSE

Oracle

SELECT sde.gdb_util.is_replicated('BIO', 'BIRDS')
FROM DUAL;

SDE.GDB_UTIL.IS_VERSIONED('BIO', 'BIRDS')
--------------------------------------------------
TRUE
SELECT sde.gdb_util.is_replicated('BIO', 'SPECIES')
FROM DUAL;

SDE.GDB_UTIL.IS_VERSIONED('BIO', 'SPECIES')
--------------------------------------------------
FALSE

PostgreSQL

SELECT sde.is_replicated('bio', 'birds');

true
SELECT sde.is_replicated('bio', 'species');

false

SQL Server

SELECT sde.is_replicated('bio', 'birds');

TRUE
SELECT sde.is_replicated('bio', 'species');

FALSE

Related topics

  • Understanding distributed data

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal