.\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $

DROP SCHEMA - Online Linux Manual Page

Section : 7
Updated : 2014-02-17
Source : SQL - Language Statements
Note : SQL Commands

NAMEDROP SCHEMA − remove a schema

SYNOPSISDROP SCHEMA [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]

DESCRIPTIONDROP SCHEMA removes schemas from the database. A schema can only be dropped by its owner or a superuser. Note that the owner can drop the schema (and thereby all contained objects) even if he does not own some of the objects within the schema.

PARAMETERSIF EXISTS  Do not throw an error if the schema does not exist. A notice is issued in this case. name  The name of a schema. CASCADE  Automatically drop objects (tables, functions, etc.) that are contained in the schema. RESTRICT  Refuse to drop the schema if it contains any objects. This is the default.

EXAMPLESTo remove schema mystuff from the database, along with everything it contains: DROP SCHEMA mystuff CASCADE;

COMPATIBILITYDROP SCHEMA is fully conforming with the SQL standard, except that the standard only allows one schema to be dropped per command, and apart from the IF EXISTS option, which is a PostgreSQL extension.

SEE ALSOALTER SCHEMA [alter_schema(7)], CREATE SCHEMA [create_schema(7)]
0
Johanes Gumabo
Data Size   :   5,905 byte
man-drop_schema.7Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   28 / 2,243,199
Visitor ID   :     :  
Visitor IP   :   216.73.216.210   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence|93|drop_schema.7|1|\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $ |.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $ )         (parse_manual_page_|254|drop_schema.7|1|\"|.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $ )