drop function

Description

Drops a user-defined function and its function strings.

Syntax

drop function [replication_definition.]function

Parameters

replication_definition

The name of the replication definition the function was created for.

function

The name of the function to drop.

Examples

Example 1

Drops the upd_publishers user-defined function for the publishers_rep replication definition. Also drops any function strings defined for the function:

drop function publishers_rep.upd_publishers

Usage

Permissions

drop function requires “create object” permission.

See also

create function, drop function string, move primary