sp_dropkey  sp_droplogin

Chapter 1: System Procedures

sp_droplanguage

Description

Drops an alternate language from the server and removes its row from master.dbo.syslanguages.

Syntax

sp_droplanguage language [, dropmessages]

Parameters

language

is the official name of the language to be dropped.

dropmessages

drops all Adaptive Server system messages in language. You cannot drop a language with associated system messages without also dropping its messages.

Examples

Example 1

This example drops French from the available alternate languages, if there are no associated messages:

sp_droplanguage french

Example 2

This example drops French from the available alternate languages, if there are associated messages:

sp_droplanguage french, dropmessages

Usage

Permissions

Only a System Administrator can execute sp_droplanguage.

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

System procedures sp_addlanguage, sp_helplanguage





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

View this book as PDF