
SQL Reference Manual Version 2.2.0 Table of Contents 1. About This Document . 5 1.1. Intended Audience . 5 1.2. New and Changed Information . 6 1.3. Document Organization . 7 1.4. Notation Conventions . 8 1.5. Comments Encouraged . 11 2. Introduction . 12 2.1. SQL Language . 12 2.2. Using Trafodion SQL to Access HBase Tables . 13 2.2.1. Ways to Access HBase Tables . 13 2.2.2. Trafodion SQL Tables Versus Native HBase Tables . 17 2.2.3. Supported SQL Statements With HBase Tables . 17 2.3. Using Trafodion SQL to Access Hive Tables . 18 2.3.1. ANSI Names for Hive Tables . 18 2.3.2. Type Mapping From Hive to Trafodion SQL . 19 2.3.3. Supported SQL Statements With Hive Tables . 19 2.4. Data Consistency and Access Options . 20 2.4.1. READ COMMITTED . 20 2.5. Transaction Management . 21 2.5.1. User-Defined and System-Defined Transactions . 21 2.5.2. Rules for DML Statements . 22 2.5.3. Effect of AUTOCOMMIT Option . 22 2.5.4. Concurrency . 22 2.5.5. Transaction Isolation Levels . 23 2.6. ANSI Compliance and Trafodion SQL Extensions . 24 2.6.1. ANSI-Compliant Statements . 24 2.6.2. Statements That Are Trafodion SQL Extensions . 25 2.6.3. ANSI-Compliant Functions . 26 2.7. Trafodion SQL Error Messages . 26 3. SQL Statements . 27 3.1. Categories . 27 3.1.1. Data Definition Language (DDL) Statements . 28 3.1.2. Data Manipulation Language (DML) Statements . 29 3.1.3. Transaction Control Statements . 29 3.1.4. Data Control and Security Statements . 30 3.1.5. Stored Procedure and User-Defined Function Statements . 31 3.1.6. Prepared Statements . 31 3.1.7. Control Statements . 32 3.1.8. Object Naming Statements . 32 3.1.9. SHOW, GET, and EXPLAIN Statements . 33 3.2. ALTER SEQUENCE Statement . 34 3.2.1. Syntax Description of ALTER SEQUENCE . 35 3.2.2. Considerations for ALTER SEQUENCE . 36 3.2.3. Examples of ALTER SEQUENCE . 37 3.3. ALTER TABLE Statement . 38 3.3.1. Syntax Description of ALTER TABLE . 40 3.3.2. Considerations for ALTER TABLE . 46 3.3.3. Example of ALTER TABLE . 47 3.4. ALTER USER Statement . 48 3.4.1. Syntax Description of ALTER USER . 48 3.4.2. Considerations for ALTER USER . 49 3.4.3. Examples of ALTER USER . 49 3.5. BEGIN WORK Statement . 50 3.5.1. Considerations for BEGIN WORK . 50 3.5.2. Example of BEGIN WORK . 50 3.6. CALL Statement.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages761 Page
-
File Size-