Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

drop database [Table of Contents] drop
function (SQLJ)

Reference Manual: Commands

[-] Chapter 1 Commands
[-] drop default

drop default

Description

Removes a user-defined default.

Syntax

drop default [owner.]default_name 
    [, [owner.]default_name] ...

Parameters

default_name

is the name of an existing default. Execute sp_help to get a list of existing defaults. Specify the owner's name to drop a default of the same name owned by a different user in the current database. The default value for owner is the current user.

Examples

Example 1

Removes the user-defined default datedefault from the database:

drop default datedefault

Usage

Standards

ANSI SQL - Compliance level: Transact-SQL extension.

Permissions

drop default permission defaults to the owner of the default and is not transferable.

See also

Commands

create default

System procedures

sp_help, sp_helptext, sp_unbindefault


drop database [Table of Contents] drop
function (SQLJ)