OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / man / man7 / drop_operator.7
1 .\\" auto-generated by docbook2man-spec $Revision: 1.25 $
2 .TH "DROP OPERATOR" "7" "2003-11-02" "SQL - Language Statements" "SQL Commands"
3 .SH NAME
4 DROP OPERATOR \- remove an operator
5
6 .SH SYNOPSIS
7 .sp
8 .nf
9 DROP OPERATOR \fIname\fR ( \fIlefttype\fR | NONE , \fIrighttype\fR | NONE ) [ CASCADE | RESTRICT ]
10 .sp
11 .fi
12 .SH "DESCRIPTION"
13 .PP
14 \fBDROP OPERATOR\fR drops an existing operator from
15 the database system. To execute this command you must be the owner
16 of the operator.
17 .SH "PARAMETERS"
18 .TP
19 \fB\fIname\fB\fR
20 The name (optionally schema-qualified) of an existing operator.
21 .TP
22 \fB\fIlefttype\fB\fR
23 The data type of the operator's left operand; write
24 NONE if the operator has no left operand.
25 .TP
26 \fB\fIrighttype\fB\fR
27 The data type of the operator's right operand; write
28 NONE if the operator has no right operand.
29 .TP
30 \fBCASCADE\fR
31 Automatically drop objects that depend on the operator.
32 .TP
33 \fBRESTRICT\fR
34 Refuse to drop the operator if any objects depend on it. This
35 is the default.
36 .SH "EXAMPLES"
37 .PP
38 Remove the power operator a^b for type \fBinteger\fR:
39 .sp
40 .nf
41 DROP OPERATOR ^ (integer, integer);
42 .sp
43 .fi
44 .PP
45 Remove the left unary bitwise complement operator
46 ~b for type \fBbit\fR:
47 .sp
48 .nf
49 DROP OPERATOR ~ (none, bit);
50 .sp
51 .fi
52 .PP
53 Remove the right unary factorial operator x!
54 for type \fBinteger\fR:
55 .sp
56 .nf
57 DROP OPERATOR ! (integer, none);
58 .sp
59 .fi
60 .SH "COMPATIBILITY"
61 .PP
62 There is no \fBDROP OPERATOR\fR statement in the SQL standard.
63 .SH "SEE ALSO"
64 CREATE OPERATOR [\fBcreate_operator\fR(7)]
65