sp_dropthreshold  sp_dropuser

Chapter 1: System Procedures

sp_droptype

Description

Drops a user-defined datatype.

Syntax

sp_droptype typename

Parameters

typename

is the name of a user-defined datatype that you own.

Examples

Example 1

Drops the user-defined datatype named birthday:

sp_droptype birthday

Usage

Permissions

Only the Database Owner or datatype owner can execute sp_droptype.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

Event

Audit option

Command or access audited

Information in extrainfo

38

exec_procedure

Execution of a procedure

  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

See also

Datatypes User-defined datatypes

System procedures sp_addtype, sp_rename





Copyright © 2005. Sybase Inc. All rights reserved. sp_dropuser

View this book as PDF