Reference Manual: Commands Content

Reference Manual: Commands Content

Reference Manual PUBLIC SAP Adaptive Server Enterprise 16.0 SP02 Document Version: 1.4 – 2016-12-20 Reference Manual: Commands Content 1 Commands................................................................14 1.1 alter database...............................................................14 alter database Restrictions...................................................26 Using alter database for Archive Databases.......................................27 Altering In-Memory and Relaxed Durability Databases............................... 27 Backing Up master After Allocating More Space....................................28 Placing the Log on a Separate Device........................................... 28 Altering Databases for Compression............................................28 In-row LOB Columns.......................................................29 Shrinking Log Space....................................................... 29 Getting Help on Space Usage.................................................30 The system and default Segments............................................. 30 Using alter database to Awaken Sleeping Processes.................................30 Using the alter database for proxy_update Parameter............................... 30 Fully Encrypting Databases...................................................31 1.2 alter encryption key...........................................................31 1.3 alter index.................................................................40 1.4 alter login..................................................................42 1.5 alter login profile............................................................ 49 1.6 alter...modify owner..........................................................53 1.7 alter precomputed result set....................................................58 1.8 alter role..................................................................60 Changing Passwords for Roles................................................64 Mutually Exclusive Roles.................................................... 65 1.9 alter table................................................................. 65 Restrictions for alter table................................................... 85 alter table and Encrypted Columns.............................................88 Altering a Table’s Compression............................................... 89 Interactions Between Compression and Other alter table Parameters.................... 89 Altering the Compression Level for a Table Using Large Objects.........................91 Getting Information About Tables..............................................92 Specifying Ascending or Descending Ordering in Indexes.............................93 Using Cross-Database Referential Integrity Constraints..............................93 Changing Defaults.........................................................94 Setting Space Management Properties for Indexes..................................94 Conversion of max_rows_per_page to exp_row_size.................................95 Reference Manual: Commands 2 PUBLIC Content Using reservepagegap......................................................96 Partitioning Tables for Improved Performance.....................................96 Using Computed Columns...................................................97 Adding IDENTITY Columns...................................................98 Altering Table Schema......................................................98 Restrictions for Modifying a Table Schema.......................................100 Restrictions for Modifying text and image Columns.................................100 Modifying Tables With Unitext Columns.........................................101 Changing Locking Schemes..................................................101 Adding Java-SQL Columns..................................................102 Restrictions for Shared-Disk Clusters.......................................... 103 1.10 alter thread pool............................................................103 1.11 allow....................................................................106 1.12 begin...end................................................................107 1.13 begin transaction...........................................................109 1.14 break.................................................................... 111 1.15 checkpoint ................................................................113 1.16 close.................................................................... 115 1.17 commit...................................................................116 1.18 compute Clause............................................................ 118 compute Clause Restrictions.................................................123 compute Results Appear as a New Row or Rows...................................124 Case-Sensitivity..........................................................125 1.19 connect to...disconnect.......................................................126 1.20 continue..................................................................129 1.21 create archive database...................................................... 130 1.22 create database............................................................133 Restrictions for create database..............................................143 Temporary Databases.....................................................144 Creating Compressed Databases............................................. 145 Creating Databases With In-Row LOBs..........................................145 Creating In-Memory and Relaxed Durability Databases..............................146 New Databases Created from model...........................................146 Ensuring Database Recoverability.............................................147 Using the for load Option....................................................147 Getting Information About Databases.......................................... 148 Using with default_location and for proxy_update..................................148 1.23 create default..............................................................148 create default Restrictions.................................................. 152 Datatype Compatibility.....................................................152 Getting Information about Defaults............................................152 Reference Manual: Commands Content PUBLIC 3 Defaults and Rules........................................................152 Defaults and Nulls........................................................ 153 Specifying a Default Value in create table........................................153 Objects Dependent on Replaced Defaults........................................153 1.24 create encryption key........................................................ 153 1.25 create existing table......................................................... 159 Datatype Conversions..................................................... 163 Changes by Server Class................................................... 163 Remote Procedures.......................................................164 Encrypted Columns.......................................................165 1.26 create function.............................................................165 Objects Dependent on Replaced Functions.......................................172 1.27 create function (SQLJ)........................................................173 1.28 create index...............................................................177 Creating Indexes Efficiently..................................................191 Creating Clustered Indexes..................................................192 Creating Indexes on Compressed Table.........................................192 Creating Indexes on Encrypted Columns........................................ 193 Specifying Ascending or Descending Ordering in Indexes.............................193 Space Requirements for Indexes..............................................193 Duplicate Rows..........................................................193 Using Unique Constraints in Place of Indexes.....................................194 Using the sorted_data Option to Speed Sorts.....................................195 Specifying the Number of Histogram Steps...................................... 196 Space Management Properties...............................................196 Index Options and Locking Modes.............................................197 Using the sorted_data Option on Data-Only-Locked Tables........................... 197 Getting Information About Tables and Indexes....................................198 Creating Indexes on Computed Columns........................................198 Creating Partitioned Indexes.................................................198 Creating Function-Based Indexes............................................. 199 create index and Stored Procedures........................................... 199 Creating Indexes in Parallel..................................................199 1.29 create login...............................................................200 1.30 create login profile..........................................................204 1.31 create manifest file..........................................................207 1.32 create plan................................................................209

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    862 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us