DROP AGGREGATE(7) SQL Commands DROP AGGREGATE(7)NAME
DROP AGGREGATE - remove a user-defined aggregate function
SYNOPSIS
DROP AGGREGATE name ( type ) [ CASCADE | RESTRICT ]
INPUTS
name The name (optionally schema-qualified) of an existing aggregate function.
type The input data type of the aggregate function, or * if the function accepts any input type. (Refer to the PostgreSQL User's Guide
for further information about data types.) [Comment: This should become a cross-reference rather than a hard-coded chapter number]
CASCADE
Automatically drop objects that depend on the aggregate.
RESTRICT
Refuse to drop the aggregate if there are any dependent objects. This is the default.
OUTPUTS
DROP AGGREGATE
Message returned if the command is successful.
ERROR: RemoveAggregate: aggregate 'name' for type type does not exist
This message occurs if the aggregate function specified does not exist in the database.
DESCRIPTION
DROP AGGREGATE will delete an existing aggregate definition. To execute this command the current user must be the owner of the aggregate.
NOTES
Use CREATE AGGREGATE [create_aggregate(7)] to create aggregate functions.
USAGE
To remove the myavg aggregate for type int4:
DROP AGGREGATE myavg(int4);
COMPATIBILITY
SQL92
There is no DROP AGGREGATE statement in SQL92; the statement is a PostgreSQL language extension.
SQL - Language Statements 2002-11-22 DROP AGGREGATE(7)
Check Out this Related Man Page
DROP LANGUAGE(7) SQL Commands DROP LANGUAGE(7)NAME
DROP LANGUAGE - remove a user-defined procedural language
SYNOPSIS
DROP [ PROCEDURAL ] LANGUAGE name [ CASCADE | RESTRICT ]
INPUTS
name The name of an existing procedural language. For backward compatibility, the name may be enclosed by single quotes.
CASCADE
Automatically drop objects that depend on the language (such as functions in the language).
RESTRICT
Refuse to drop the language if there are any dependent objects. This is the default.
OUTPUTS
DROP LANGUAGE
This message is returned if the language is successfully dropped.
ERROR: Language "name" doesn't exist
This message occurs if a language called name is not found in the database.
DESCRIPTION
DROP PROCEDURAL LANGUAGE will remove the definition of the previously registered procedural language called name.
NOTES
The DROP PROCEDURAL LANGUAGE statement is a PostgreSQL language extension.
Refer to CREATE LANGUAGE [create_language(7)] for information on how to create procedural languages.
USAGE
This command removes the PL/Sample language:
DROP LANGUAGE plsample;
COMPATIBILITY
SQL92
There is no DROP PROCEDURAL LANGUAGE in SQL92.
SQL - Language Statements 2002-11-22 DROP LANGUAGE(7)
Hy all,
I have a problem...can some one help me...
I have a file of records sort:
30|239|ORD|447702936929 |blackberry.net |20080728|141304|00000900|2|0000000000000536|28181|0000000006|0000000001|10|1
30|239|ORD|447702936929 |blackberry.net ... (4 Replies)
How can I check and see if the first parameter is a file existing in the current path or it is a real file and user input some random name in an IF statement? (5 Replies)