WriteObject/WriteVersion - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

WriteObject/WriteVersion

Purpose

The WriteObject and WriteVersion functions update the CMetaRelationshipDesc object.

Description

The properties of a CMetaRelationshipDesc object that can be modified are:

  • Name
  • Description
  • OwnerID
  • SecurityProfileID
  • UniqueNamesFlag
  • Updates to other fields will be ignored.

    Requirements

    The ObjectID must be set.

    Versioning of relationship objects is not supported, thus there exists only one version of a relationship object.

    Exceptions: The engine does not permit updates to the following predefined CMetaRelationshipDesc objects

     

    ObjectID

    Name

    200-208

    MDSMetaModel relationships

    Syntax

    HRESULT WriteObject ();
    HRESULT WriteVersion();