DeleteVersion - 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

DeleteVersion

Purpose

DeleteVersion deletes a specific version of an object from the MDS Repository database. The user must have delete permission on the version to be deleted. If the current version is deleted, then the immediately preceding version will become the current version. Deleting the only version of an object is the same as issuing Delete().

Requirements

The internal object id must be set in the object and it must be for the version to be deleted.

Syntax

HRESULT DeleteVersion(void);