Oracle Rdb™ SQL Reference Manual Volume 2 Release 7.2 for HP OpenVMS Industry Standard 64 for Integrity Servers and OpenVMS Alpha operating systems October 2006 ® DEC_Callout (encoded characters) FullName: DEC Modular Callouts Distiller, PostScript v3011.104 r0 Notice: Copyright 1988 - 1993, Digital Equipment Corporation. Font version: 1.3, 13-Oct-1993 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 40 1.000 41 1.000 42 1.000 43 1.000 44 1.000 45 1.000 46 1.000 47 1.000 50 1.000 51 1.000 52 0.500 53 0.500 54 0.500 55 0.500 56 0.500 57 0.500 cx0 cx1 cx2 cx3 cx4 cx5 cx6 cx7 cx8 cx9 bx0 bx1 bx2 bx3 bx4 bx5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 60 0.500 61 0.500 62 0.500 63 0.500 64 0.375 65 0.375 66 0.375 67 0.375 70 0.375 71 0.375 72 0.375 73 0.375 74 0.375 75 0.375 76 0.500 77 0.500 bx6 bx7 bx8 bx9 mx0 mx1 mx2 mx3 mx4 mx5 mx6 mx7 mx8 mx9 ex0 ex1 2 3 4 5 6 7 8 9 100 0.500 101 0.500 102 0.500 103 0.500 104 0.500 105 0.500 106 0.500 107 0.500 110 0.000 111 0.000 112 0.000 113 0.000 114 0.000 115 0.000 116 0.000 117 0.000 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 120 0.000 121 0.000 122 0.000 123 0.000 124 0.000 125 0.000 126 0.000 127 0.000 130 0.000 131 0.000 132 0.000 133 0.000 134 0.000 135 0.000 136 0.000 137 0.000 140 0.000 141 0.000 142 0.000 143 0.000 144 0.000 145 0.000 146 0.000 147 0.000 150 0.000 151 0.000 152 0.000 153 0.000 154 0.000 155 0.000 156 0.000 157 0.000 160 0.000 161 0.000 162 0.000 163 0.000 164 0.000 165 0.000 166 0.000 167 0.000 170 0.000 171 0.000 172 0.000 173 0.000 174 0.000 175 0.000 176 0.000 177 0.000 0123456789012345678901234567890123456789 240 0.000 241 0.000 242 0.000 243 0.000 244 0.000 245 0.000 246 0.000 247 0.000 250 0.000 251 0.000 252 0.000 253 0.000 254 0.000 255 0.000 256 0.000 257 0.000 260 0.000 261 0.000 262 0.000 263 0.000 264 0.000 265 0.000 266 0.000 267 0.000 270 0.000 271 0.000 272 0.000 273 0.000 274 0.000 275 0.000 276 0.000 277 0.000 300 0.000 301 0.000 302 0.000 303 0.000 304 0.000 305 0.000 306 0.000 307 0.000 310 0.000 311 0.000 312 0.000 313 0.000 314 0.000 315 0.000 316 0.000 317 0.000 320 0.000 321 0.000 322 0.000 323 0.000 324 0.000 325 0.000 326 0.000 327 0.000 330 0.000 331 0.000 332 0.000 333 0.000 334 0.000 335 0.000 336 0.000 337 0.000 340 0.000 341 0.000 342 0.000 343 0.000 344 0.000 345 0.000 346 0.000 347 0.000 350 0.000 351 0.000 352 0.000 353 0.000 354 0.000 355 0.000 356 0.000 357 0.000 360 0.000 361 0.000 362 0.000 363 0.000 364 0.000 365 0.000 366 0.000 367 0.000 370 0.000 371 0.000 372 0.000 373 0.000 374 0.000 375 0.000 376 0.000 377 0.000 SQL Reference Manual, Volume 2 Oracle Rdb Release 7.2 for HP OpenVMS Industry Standard 64 for Integrity Servers and OpenVMS Alpha operating systems Copyright © 1987, 2006 Oracle Corporation. All rights reserved. The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the programs is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation. If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are ‘‘commercial computer software’’ or ‘‘commercial technical data’’ pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software—Restricted Rights (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee’s responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the Programs. Oracle is a registered trademark, and Oracle Rdb, Hot Standby, LogMiner for Rdb, Oracle CODASYL DBMS, Oracle RMU, Oracle CDD/Repository, Oracle SQL/Services, Oracle Trace, and Rdb are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners. The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services, or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party. Contents Send Us Your Comments ........................................... vii Preface ........................................................... ix 6 SQL Statements ACCEPT Statement ......................................... 6–2 ALTER Statements ......................................... 6–7 ALTER CONSTRAINT Statement .............................. 6–8 ALTER DATABASE Statement ................................ 6–12 ALTER DOMAIN Statement . ................................. 6–86 ALTER FUNCTION Statement ................................ 6–102 ALTER INDEX Statement . ................................. 6–109 ALTER MODULE Statement . ................................. 6–131 ALTER OUTLINE Statement ................................. 6–138 ALTER PROCEDURE Statement .............................. 6–144 ALTER PROFILE Statement . ................................. 6–150 ALTER ROLE Statement ..................................... 6–152 ALTER SEQUENCE Statement ................................ 6–155 ALTER STORAGE MAP Statement ............................. 6–164 ALTER SYNONYM Statement ................................. 6–179 ALTER TABLE Statement . ................................. 6–181 ALTER TRIGGER Statement . ................................. 6–221 ALTER USER Statement ..................................... 6–224 ALTER VIEW Statement ..................................... 6–227 ATTACH Statement ......................................... 6–233 BEGIN DECLARE Statement ................................. 6–244 CALL Statement for Simple Statements ......................... 6–247 CALL Statement for Compound Statements ...................... 6–250 iii CASE (Searched) Control Statement ............................ 6–254 CASE (Simple) Control Statement .............................. 6–256 CLOSE Statement .......................................... 6–259 COMMENT ON Statement ................................... 6–261 COMMIT Statement . ...................................... 6–269 Compound Statement . ...................................... 6–275 CONNECT Statement . ...................................... 6–290 CREATE Statements . ...................................... 6–302 CREATE CACHE Clause ..................................... 6–303 CREATE CATALOG Statement . .............................. 6–314 CREATE COLLATING SEQUENCE Statement .................... 6–318 CREATE DATABASE Statement . .............................. 6–323 CREATE DOMAIN Statement . .............................. 6–386 CREATE FUNCTION Statement . .............................. 6–399 CREATE INDEX Statement ................................... 6–400 CREATE MODULE Statement . .............................. 6–426 CREATE OUTLINE Statement . .............................. 6–451 CREATE PROCEDURE Statement ............................. 6–474 CREATE PROFILE Statement . .............................. 6–475 CREATE ROLE Statement ................................... 6–478 CREATE ROUTINE Statement . .............................. 6–483 CREATE SCHEMA Statement . .............................. 6–503 Index Tables 6–1 Updating Data Definitions While Users Are Attached to the Database .............................................. 6–64 6–2 Updating Database-Wide Parameters While Users Are Attached to the Database ........................................... 6–68 6–3 Constraint Attributes Syntax Permutations and Equivalents . ..... 6–190 6–4 ALTER and DROP Statements Causing or Not Causing Stored Routine Invalidation ..................................... 6–434 iv Send Us Your Comments Oracle Rdb for OpenVMS Oracle SQL Reference Manual, Release 7.2 Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this publication. Your input is an important part of the information used for revision. • Did you find any errors? • Is the information clearly presented? • Do you need more information? If so, where? • Are the examples correct? Do you need more examples? • What features did you like most? If you find any errors or have any other suggestions for improvement, please indicate the document title, chapter, section, and page number (if available).
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages544 Page
-
File Size-