SlideShare a Scribd company logo
H2 Database Engine
   Version 1.0 / 2006-10-10




                              1 of 129
Table of Contents
Quickstart............................................................................................................................................................................................... 9
    The H2 Console Application................................................................................................................................................................. 9
         Step-by-Step................................................................................................................................................................................ 9
              Installation............................................................................................................................................................................. 9
              Start the Console.................................................................................................................................................................... 9
              Login................................................................................................................................................................................... 10
              Sample................................................................................................................................................................................ 11
              Execute................................................................................................................................................................................ 12
              Disconnect........................................................................................................................................................................... 13
              End..................................................................................................................................................................................... 13
Installation............................................................................................................................................................................................ 14
    Requirements................................................................................................................................................................................... 14
    Supported Platforms......................................................................................................................................................................... 14
    Installing the Software...................................................................................................................................................................... 14
    Directory Structure........................................................................................................................................................................... 14
Tutorial................................................................................................................................................................................................. 15
    Starting and Using the H2 Console..................................................................................................................................................... 15
         Firewall...................................................................................................................................................................................... 15
         Native Version............................................................................................................................................................................ 15
         Testing Java............................................................................................................................................................................... 15
         Error Message 'Port is in use'....................................................................................................................................................... 16
         Using another Port...................................................................................................................................................................... 16
         Starting Successfully................................................................................................................................................................... 16
         Connecting to the Server using a Browser..................................................................................................................................... 16
         Multiple Concurrent Sessions....................................................................................................................................................... 16
         Application Properties................................................................................................................................................................. 16
         Login......................................................................................................................................................................................... 16
         Error Messages........................................................................................................................................................................... 16
         Adding Database Drivers............................................................................................................................................................. 16
         Using the Application.................................................................................................................................................................. 17
         Inserting Table Names or Column Names..................................................................................................................................... 17
         Disconnecting and Stopping the Application.................................................................................................................................. 17
    Connecting to a Database using JDBC................................................................................................................................................ 17
    Creating New Databases................................................................................................................................................................... 17
    Using the Server............................................................................................................................................................................... 17
         Limitations of the Server............................................................................................................................................................. 17
         Starting from Command Line....................................................................................................................................................... 17
         Starting within an Application...................................................................................................................................................... 18
         Stopping a TCP Server from Another Process................................................................................................................................ 18
    Using Hibernate............................................................................................................................................................................... 18
    Using Databases in Web Applications................................................................................................................................................. 18
         Embedded Mode......................................................................................................................................................................... 18
         Server Mode............................................................................................................................................................................... 19
         Using a Servlet Listener to Start and Stop a Database.................................................................................................................... 19
    CSV (Comma Separated Values) Support............................................................................................................................................ 19
         Writing a CSV File from Within a Database.................................................................................................................................... 19
         Reading a CSV File from Within a Database.................................................................................................................................. 19
         Writing a CSV File from a Java Application.................................................................................................................................... 20
         Reading a CSV File from a Java Application................................................................................................................................... 20
Features................................................................................................................................................................................................ 21
    Feature List...................................................................................................................................................................................... 21
         Main Features............................................................................................................................................................................ 21
         Additional Features..................................................................................................................................................................... 21
         SQL Support............................................................................................................................................................................... 21
         Security Features........................................................................................................................................................................ 22
         Other Features and Tools............................................................................................................................................................ 22
    Comparison to Other Database Engines.............................................................................................................................................. 22
    Products that Work with H2............................................................................................................................................................... 22
    Why Java......................................................................................................................................................................................... 23
    Connection Modes............................................................................................................................................................................ 23
    Database URL Overview.................................................................................................................................................................... 23
         Connecting to an Embedded (Local) Database............................................................................................................................... 24
         Memory-Only Databases............................................................................................................................................................. 24
    Connecting to a Database with File Encryption.................................................................................................................................... 24
    Database File Locking....................................................................................................................................................................... 24
    Opening a Database Only if it Already Exists....................................................................................................................................... 25
    Closing the Database........................................................................................................................................................................ 25
         Delayed Database Closing........................................................................................................................................................... 25
         Don't Close the Database when the VM Exists............................................................................................................................... 25
    Log Index Changes........................................................................................................................................................................... 25
         Ignore Unknown Settings............................................................................................................................................................ 25
         Changing Other Settings when Opening a Connection.................................................................................................................... 26


                                                                                                                                                                                    2 of 129
Multiple Connections.........................................................................................................................................................................         26
        Opening Multiple Databases at the Same Time..............................................................................................................................                         26
        Multiple Connections to the Same Database: Client/Server.............................................................................................................                             26
        Multithreading Support................................................................................................................................................................            26
        Locking, Lock-Timeout, Deadlocks................................................................................................................................................                  26
    Database File Layout........................................................................................................................................................................          27
        Moving and Renaming Database Files...........................................................................................................................................                     27
        Backup......................................................................................................................................................................................      27
    Logging and Recovery......................................................................................................................................................................            27
    Compatibility Modes..........................................................................................................................................................................         28
    Using the Trace Options....................................................................................................................................................................           28
        Trace Options.............................................................................................................................................................................        28
        Setting the Maximum Size of the Trace File...................................................................................................................................                     28
        Java Code Generation.................................................................................................................................................................             29
        Enabling the Trace Option at Runtime by Manually Creating a File..................................................................................................                                29
    Read Only Databases........................................................................................................................................................................           29
    Binary and Text Storage Formats.......................................................................................................................................................                29
    Graceful Handling of Low Disk Space Situations..................................................................................................................................                      29
        Opening a Corrupted Database....................................................................................................................................................                  30
    Computed Columns / Function Based Index........................................................................................................................................                       30
    Multi-Dimensional Indexes................................................................................................................................................................             30
    Using Passwords..............................................................................................................................................................................         30
        Using Secure Passwords..............................................................................................................................................................              30
        Passwords: Using Char Arrays instead of Strings...........................................................................................................................                        30
        Passing the User Name and/or Password in the URL......................................................................................................................                            31
    User Defined Functions and Stored Procedures...................................................................................................................................                       31
        Function Data Type Mapping.......................................................................................................................................................                 31
        Functions that require a Connection.............................................................................................................................................                  31
        Functions throwing an Exception..................................................................................................................................................                 31
        Functions returning a Result Set..................................................................................................................................................                32
        Using SimpleResultSet.................................................................................................................................................................            32
        Using a Function as a Table.........................................................................................................................................................              32
    Triggers...........................................................................................................................................................................................   33
    Compacting a Database....................................................................................................................................................................             33
Performance Comparison........................................................................................................................................................................            34
    Embedded.......................................................................................................................................................................................       34
    Client-Server....................................................................................................................................................................................     34
    PolePosition Benchmark....................................................................................................................................................................            34
    Benchmark Results and Comments....................................................................................................................................................                    35
        H2.............................................................................................................................................................................................   35
        HSQLDB.....................................................................................................................................................................................       35
        Derby........................................................................................................................................................................................     35
        PostgreSQL................................................................................................................................................................................        35
        MySQL.......................................................................................................................................................................................      35
        Firebird......................................................................................................................................................................................    36
        Why Oracle / MS SQL Server / DB2 are Not Listed.........................................................................................................................                          36
    About this Benchmark.......................................................................................................................................................................           36
        Number of Connections...............................................................................................................................................................              36
        Real-World Tests........................................................................................................................................................................          36
        Comparing Embedded with Server Databases................................................................................................................................                          36
        Test Platform.............................................................................................................................................................................        36
        Multiple Runs.............................................................................................................................................................................        36
        Memory Usage...........................................................................................................................................................................           36
        Delayed Operations....................................................................................................................................................................            36
        Transaction Commit / Durability...................................................................................................................................................                36
        Using Prepared Statements.........................................................................................................................................................                36
        Currently Not Tested: Startup Time..............................................................................................................................................                  37
Advanced Topics....................................................................................................................................................................................       38
    Performance Tuning.........................................................................................................................................................................           38
        Virus Scanners...........................................................................................................................................................................         38
        Index Usage...............................................................................................................................................................................        38
        Optimizer...................................................................................................................................................................................      38
        Expression Optimization..............................................................................................................................................................             38
        COUNT(*) Optimization...............................................................................................................................................................              38
        Updating Optimizer Statistics / Column Selectivity..........................................................................................................................                      38
    Result Sets......................................................................................................................................................................................     39
        Limiting the Number of Rows.......................................................................................................................................................                39
        Large Result Sets and External Sorting.........................................................................................................................................                   39
    Large Objects...................................................................................................................................................................................      39
        Storing and Reading Large Objects..............................................................................................................................................                   39
    Linked Tables...................................................................................................................................................................................      39
    Transaction Isolation........................................................................................................................................................................         39
        Table Level Locking....................................................................................................................................................................           39
        Lock Timeout.............................................................................................................................................................................         40
    Clustering / High Availability..............................................................................................................................................................          40
        Using the CreateCluster Tool.......................................................................................................................................................               40
    Two Phase Commit...........................................................................................................................................................................           41
    Compatibility....................................................................................................................................................................................     41


                                                                                                                                                                                     3 of 129
Transaction Commit when Autocommit is On................................................................................................................................                         41
        Keywords / Reserved Words........................................................................................................................................................                41
   ODBC Driver....................................................................................................................................................................................       41
        ODBC Installation.......................................................................................................................................................................         41
        Log Option.................................................................................................................................................................................      42
        Security Considerations...............................................................................................................................................................           42
        Uninstalling................................................................................................................................................................................     42
   ACID...............................................................................................................................................................................................   42
        Atomicity...................................................................................................................................................................................     42
        Consistency................................................................................................................................................................................      42
        Isolation....................................................................................................................................................................................    42
        Durability...................................................................................................................................................................................    43
        Running the Durability Test.........................................................................................................................................................             43
   Using the Recover Tool.....................................................................................................................................................................           43
   File Locking Protocols.......................................................................................................................................................................         43
        File Locking Method 'File'.............................................................................................................................................................          44
        File Locking Method 'Socket'........................................................................................................................................................             44
   Protection against SQL Injection........................................................................................................................................................              44
        What is SQL Injection.................................................................................................................................................................           44
        Disabling Literals........................................................................................................................................................................       45
        Using Constants.........................................................................................................................................................................         45
        Using the ZERO() Function..........................................................................................................................................................              45
   Security Protocols.............................................................................................................................................................................       45
        User Password Encryption...........................................................................................................................................................              45
        File Encryption............................................................................................................................................................................      46
        SSL/TLS Connections..................................................................................................................................................................            46
        HTTPS Connections....................................................................................................................................................................            46
   Universally Unique Identifiers (UUID).................................................................................................................................................                46
   Glossary and Links............................................................................................................................................................................        47
SQL Grammar........................................................................................................................................................................................      48
   Commands (Data Manipulation).........................................................................................................................................................                 48
   Commands (Data Definition).............................................................................................................................................................               48
   Commands (Other)...........................................................................................................................................................................           49
   Other Grammar................................................................................................................................................................................         49
        SELECT......................................................................................................................................................................................     50
        INSERT......................................................................................................................................................................................     50
        UPDATE.....................................................................................................................................................................................      50
        DELETE.....................................................................................................................................................................................      50
        CALL.........................................................................................................................................................................................    51
        EXPLAIN....................................................................................................................................................................................      51
        MERGE......................................................................................................................................................................................      51
        RUNSCRIPT................................................................................................................................................................................        51
        SCRIPT......................................................................................................................................................................................     52
        ALTER INDEX RENAME................................................................................................................................................................               52
        ALTER SEQUENCE......................................................................................................................................................................             52
        ALTER TABLE ADD......................................................................................................................................................................            52
        ALTER TABLE ADD CONSTRAINT.................................................................................................................................................                      52
        ALTER TABLE ALTER COLUMN.....................................................................................................................................................                    53
        ALTER TABLE ALTER COLUMN RENAME........................................................................................................................................                          53
        ALTER TABLE ALTER COLUMN RESTART......................................................................................................................................                           53
        ALTER TABLE ALTER COLUMN SELECTIVITY.................................................................................................................................                            53
        ALTER TABLE ALTER COLUMN SET DEFAULT................................................................................................................................                             53
        ALTER TABLE ALTER COLUMN SET NOT NULL..............................................................................................................................                              54
        ALTER TABLE ALTER COLUMN SET NULL......................................................................................................................................                          54
        ALTER TABLE DROP COLUMN......................................................................................................................................................                    54
        ALTER TABLE DROP CONSTRAINT...............................................................................................................................................                       54
        ALTER TABLE RENAME................................................................................................................................................................               54
        ALTER USER ADMIN...................................................................................................................................................................              54
        ALTER USER RENAME.................................................................................................................................................................               55
        ALTER USER SET PASSWORD......................................................................................................................................................                    55
        ALTER VIEW..............................................................................................................................................................................         55
        ANALYZE...................................................................................................................................................................................       55
        CREATE ALIAS............................................................................................................................................................................         55
        CREATE DOMAIN........................................................................................................................................................................            56
        CREATE INDEX...........................................................................................................................................................................          56
        CREATE LINKED TABLE...............................................................................................................................................................               56
        CREATE ROLE............................................................................................................................................................................          56
        CREATE SCHEMA........................................................................................................................................................................            56
        CREATE SEQUENCE....................................................................................................................................................................              57
        CREATE TABLE...........................................................................................................................................................................          57
        CREATE TRIGGER.......................................................................................................................................................................            57
        CREATE USER............................................................................................................................................................................          57
        CREATE VIEW............................................................................................................................................................................          58
        DROP ALIAS...............................................................................................................................................................................        58
        DROP ALL OBJECTS....................................................................................................................................................................             58
        DROP INDEX..............................................................................................................................................................................         58
        DROP ROLE...............................................................................................................................................................................         58
        DROP SEQUENCE.......................................................................................................................................................................             58


                                                                                                                                                                                    4 of 129
DROP SCHEMA...........................................................................................................................................................................             59
DROP TABLE..............................................................................................................................................................................           59
DROP TRIGGER..........................................................................................................................................................................             59
DROP USER...............................................................................................................................................................................           59
DROP VIEW...............................................................................................................................................................................           59
TRUNCATE TABLE......................................................................................................................................................................               59
COMMIT....................................................................................................................................................................................         60
COMMIT TRANSACTION..............................................................................................................................................................                   60
CHECKPOINT.............................................................................................................................................................................            60
CHECKPOINT SYNC....................................................................................................................................................................                60
GRANT RIGHT............................................................................................................................................................................            60
GRANT ROLE..............................................................................................................................................................................           60
HELP.........................................................................................................................................................................................      61
PREPARE COMMIT......................................................................................................................................................................               61
REVOKE RIGHT..........................................................................................................................................................................             61
REVOKE ROLE............................................................................................................................................................................            61
ROLLBACK.................................................................................................................................................................................          61
ROLLBACK TRANSACTION...........................................................................................................................................................                    61
SAVEPOINT................................................................................................................................................................................          62
SET ALLOW_LITERALS................................................................................................................................................................                 62
SET ASSERT...............................................................................................................................................................................          62
SET AUTOCOMMIT.....................................................................................................................................................................                62
SET CACHE_SIZE........................................................................................................................................................................             62
SET CLUSTER.............................................................................................................................................................................           63
SET COLLATION.........................................................................................................................................................................             63
SET COMPRESS_LOB..................................................................................................................................................................                 63
SET DATABASE_EVENT_LISTENER...............................................................................................................................................                         63
SET DB_CLOSE_DELAY...............................................................................................................................................................                  64
SET DEFAULT_LOCK_TIMEOUT...................................................................................................................................................                        64
SET DEFAULT_TABLE_TYPE........................................................................................................................................................                     64
SET IGNORECASE.......................................................................................................................................................................              64
SET LOCK_MODE........................................................................................................................................................................              65
SET LOCK_TIMEOUT...................................................................................................................................................................                65
SET LOG....................................................................................................................................................................................        65
SET MAX_LENGTH_INPLACE_LOB................................................................................................................................................                         65
SET MAX_LOG_SIZE...................................................................................................................................................................                66
SET MAX_MEMORY_ROWS..........................................................................................................................................................                      66
SET MAX_MEMORY_UNDO..........................................................................................................................................................                      66
SET MODE.................................................................................................................................................................................          66
SET MULTI_THREADED...............................................................................................................................................................                  67
SET PASSWORD.........................................................................................................................................................................              67
SET SALT HASH..........................................................................................................................................................................            67
SET THROTTLE..........................................................................................................................................................................             67
SET TRACE_LEVEL......................................................................................................................................................................              67
SET TRACE_MAX_FILE_SIZE........................................................................................................................................................                    68
SET WRITE_DELAY.....................................................................................................................................................................               68
SHUTDOWN...............................................................................................................................................................................            68
Comment...................................................................................................................................................................................         68
Select Part.................................................................................................................................................................................       68
From Part..................................................................................................................................................................................        69
Constraint..................................................................................................................................................................................       69
Referential Constraint.................................................................................................................................................................            69
Table Expression........................................................................................................................................................................           69
Order........................................................................................................................................................................................      69
Expression.................................................................................................................................................................................        70
And Condition............................................................................................................................................................................          70
Condition...................................................................................................................................................................................       70
Condition Right Hand Side...........................................................................................................................................................               70
Compare....................................................................................................................................................................................        70
Operand....................................................................................................................................................................................        70
Summand..................................................................................................................................................................................          71
Factor........................................................................................................................................................................................     71
Term.........................................................................................................................................................................................      71
Value.........................................................................................................................................................................................     71
Case..........................................................................................................................................................................................     71
Case When................................................................................................................................................................................          72
Cipher.......................................................................................................................................................................................      72
Select Expression........................................................................................................................................................................          72
Data Type..................................................................................................................................................................................        72
Name........................................................................................................................................................................................       72
Alias..........................................................................................................................................................................................    72
Quoted Name.............................................................................................................................................................................           73
String........................................................................................................................................................................................     73
Int.............................................................................................................................................................................................   73
Long..........................................................................................................................................................................................     73
Hex Number...............................................................................................................................................................................          73
Decimal.....................................................................................................................................................................................       73
Double.......................................................................................................................................................................................      74


                                                                                                                                                                              5 of 129
Date..........................................................................................................................................................................................     74
        Time..........................................................................................................................................................................................     74
        Timestamp.................................................................................................................................................................................         74
        Boolean.....................................................................................................................................................................................       74
        Bytes.........................................................................................................................................................................................     74
        Null...........................................................................................................................................................................................    75
        Hex...........................................................................................................................................................................................     75
        Digit..........................................................................................................................................................................................    75
Functions..............................................................................................................................................................................................    76
   Aggregate Functions.........................................................................................................................................................................            76
   Numeric Functions............................................................................................................................................................................           76
   String Functions...............................................................................................................................................................................         76
   Time and Date Functions..................................................................................................................................................................               77
   System Functions.............................................................................................................................................................................           77
        AVG...........................................................................................................................................................................................     78
        COUNT......................................................................................................................................................................................        78
        GROUP_CONCAT........................................................................................................................................................................               78
        MAX..........................................................................................................................................................................................      78
        MIN...........................................................................................................................................................................................     78
        SUM..........................................................................................................................................................................................      78
        SELECTIVITY.............................................................................................................................................................................           79
        STDDEV_POP.............................................................................................................................................................................            79
        STDDEV_SAMP...........................................................................................................................................................................             79
        VAR_POP...................................................................................................................................................................................         79
        VAR_SAMP.................................................................................................................................................................................          79
        ABS...........................................................................................................................................................................................     79
        ACOS.........................................................................................................................................................................................      80
        ASIN.........................................................................................................................................................................................      80
        ATAN.........................................................................................................................................................................................      80
        COS...........................................................................................................................................................................................     80
        COT..........................................................................................................................................................................................      80
        SIN...........................................................................................................................................................................................     80
        TAN...........................................................................................................................................................................................     81
        ATAN2.......................................................................................................................................................................................       81
        BITAND.....................................................................................................................................................................................        81
        BITOR.......................................................................................................................................................................................       81
        BITXOR.....................................................................................................................................................................................        81
        MOD..........................................................................................................................................................................................      81
        CEILING....................................................................................................................................................................................        82
        DEGREES...................................................................................................................................................................................         82
        EXP...........................................................................................................................................................................................     82
        FLOOR.......................................................................................................................................................................................       82
        LOG...........................................................................................................................................................................................     82
        LOG10.......................................................................................................................................................................................       82
        RADIANS...................................................................................................................................................................................         83
        SQRT.........................................................................................................................................................................................      83
        PI..............................................................................................................................................................................................   83
        POWER......................................................................................................................................................................................        83
        RAND........................................................................................................................................................................................       83
        RANDOM_UUID..........................................................................................................................................................................              83
        ROUND......................................................................................................................................................................................        84
        ROUNDMAGIC............................................................................................................................................................................             84
        SECURE_RAND...........................................................................................................................................................................             84
        SIGN.........................................................................................................................................................................................      84
        ENCRYPT...................................................................................................................................................................................         84
        DECRYPT...................................................................................................................................................................................         84
        HASH........................................................................................................................................................................................       85
        TRUNCATE.................................................................................................................................................................................          85
        COMPRESS.................................................................................................................................................................................          85
        EXPAND.....................................................................................................................................................................................        85
        ZERO.........................................................................................................................................................................................      85
        ASCII........................................................................................................................................................................................      85
        BIT_LENGTH..............................................................................................................................................................................           86
        LENGTH.....................................................................................................................................................................................        86
        OCTET_LENGTH.........................................................................................................................................................................              86
        CHAR........................................................................................................................................................................................       86
        CONCAT....................................................................................................................................................................................         86
        DIFFERENCE..............................................................................................................................................................................           86
        HEXTORAW................................................................................................................................................................................           87
        RAWTOHEX................................................................................................................................................................................           87
        INSTR.......................................................................................................................................................................................       87
        INSERT Function........................................................................................................................................................................            87
        LOWER......................................................................................................................................................................................        87
        UPPER.......................................................................................................................................................................................       87
        LEFT..........................................................................................................................................................................................     88
        RIGHT.......................................................................................................................................................................................       88
        LOCATE.....................................................................................................................................................................................        88
        POSITION..................................................................................................................................................................................         88


                                                                                                                                                                                      6 of 129
LTRIM....................................................................................................................................................................................... 88
       RTRIM....................................................................................................................................................................................... 88
       TRIM......................................................................................................................................................................................... 89
       REPEAT..................................................................................................................................................................................... 89
       REPLACE.................................................................................................................................................................................... 89
       SOUNDEX.................................................................................................................................................................................. 89
       SPACE....................................................................................................................................................................................... 89
       STRINGDECODE......................................................................................................................................................................... 89
       STRINGENCODE......................................................................................................................................................................... 90
       STRINGTOUTF8.......................................................................................................................................................................... 90
       SUBSTRING............................................................................................................................................................................... 90
       UTF8TOSTRING.......................................................................................................................................................................... 90
       XMLATTR................................................................................................................................................................................... 90
       XMLNODE.................................................................................................................................................................................. 90
       XMLCOMMENT........................................................................................................................................................................... 91
       XMLCDATA................................................................................................................................................................................. 91
       XMLSTARTDOC.......................................................................................................................................................................... 91
       XMLTEXT................................................................................................................................................................................... 91
       AUTOCOMMIT............................................................................................................................................................................ 91
       CASEWHEN Function................................................................................................................................................................... 91
       CAST......................................................................................................................................................................................... 92
       COALESCE................................................................................................................................................................................. 92
       CONVERT.................................................................................................................................................................................. 92
       CURRVAL................................................................................................................................................................................... 92
       CSVREAD................................................................................................................................................................................... 92
       CSVWRITE................................................................................................................................................................................. 92
       DATABASE................................................................................................................................................................................. 93
       DATABASE_PATH....................................................................................................................................................................... 93
       IDENTITY.................................................................................................................................................................................. 93
       IFNULL...................................................................................................................................................................................... 93
       LOCK_MODE.............................................................................................................................................................................. 93
       LOCK_TIMEOUT......................................................................................................................................................................... 93
       MEMORY_FREE.......................................................................................................................................................................... 94
       MEMORY_USED.......................................................................................................................................................................... 94
       NEXTVAL................................................................................................................................................................................... 94
       NULLIF...................................................................................................................................................................................... 94
       READONLY................................................................................................................................................................................. 94
       ROWNUM................................................................................................................................................................................... 94
       USER......................................................................................................................................................................................... 95
       CURRENT_DATE......................................................................................................................................................................... 95
       CURRENT_TIME......................................................................................................................................................................... 95
       CURRENT_TIMESTAMP............................................................................................................................................................... 95
       DATEADD.................................................................................................................................................................................. 95
       DATEDIFF.................................................................................................................................................................................. 95
       DAYNAME.................................................................................................................................................................................. 96
       DAYOFMONTH........................................................................................................................................................................... 96
       DAYOFWEEK.............................................................................................................................................................................. 96
       DAYOFYEAR............................................................................................................................................................................... 96
       EXTRACT................................................................................................................................................................................... 96
       FORMATDATETIME..................................................................................................................................................................... 96
       HOUR........................................................................................................................................................................................ 97
       MINUTE..................................................................................................................................................................................... 97
       MONTH...................................................................................................................................................................................... 97
       MONTHNAME............................................................................................................................................................................. 97
       PARSEDATETIME........................................................................................................................................................................ 97
       QUARTER.................................................................................................................................................................................. 97
       SECOND.................................................................................................................................................................................... 98
       WEEK........................................................................................................................................................................................ 98
       YEAR......................................................................................................................................................................................... 98
Data Types............................................................................................................................................................................................ 99
       INT Type................................................................................................................................................................................... 99
       BOOLEAN Type.......................................................................................................................................................................... 99
       TINYINT Type............................................................................................................................................................................ 99
       SMALLINT Type.......................................................................................................................................................................... 99
       BIGINT Type............................................................................................................................................................................ 100
       IDENTITY Type........................................................................................................................................................................ 100
       DECIMAL Type......................................................................................................................................................................... 100
       DOUBLE Type........................................................................................................................................................................... 100
       REAL Type............................................................................................................................................................................... 100
       TIME Type............................................................................................................................................................................... 100
       DATE Type............................................................................................................................................................................... 101
       TIMESTAMP Type..................................................................................................................................................................... 101
       BINARY Type............................................................................................................................................................................ 101
       OTHER Type............................................................................................................................................................................ 101
       VARCHAR Type......................................................................................................................................................................... 101
       VARCHAR_IGNORECASE Type.................................................................................................................................................... 102
       BLOB Type............................................................................................................................................................................... 102
       CLOB Type............................................................................................................................................................................... 102


                                                                                                                                                                                  7 of 129
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database
H2 Database New generation embeded database

More Related Content

Similar to H2 Database New generation embeded database

2 x applicationserver
2 x applicationserver2 x applicationserver
2 x applicationserver
Teberite Ramos
 
Diamond
DiamondDiamond
Diamond
NeverLandLuna
 
Pelco c4654 m a-dx-series-client
Pelco c4654 m a-dx-series-clientPelco c4654 m a-dx-series-client
Pelco c4654 m a-dx-series-client
marco rios
 
Teamviewer manual
Teamviewer manualTeamviewer manual
Teamviewer manual
jeetjsr11
 
Teamviewer manual
Teamviewer manualTeamviewer manual
Teamviewer manualEroel Irzha
 
Teamviewer manual
Teamviewer manualTeamviewer manual
Teamviewer manual
jeetjsr11
 
PT - Siemens WinCC Flexible Security Hardening Guide
PT - Siemens WinCC Flexible Security Hardening GuidePT - Siemens WinCC Flexible Security Hardening Guide
PT - Siemens WinCC Flexible Security Hardening Guideqqlan
 
Lync server2010licensingguide en-us
Lync server2010licensingguide en-usLync server2010licensingguide en-us
Lync server2010licensingguide en-usallegra601
 
Ge Steam Turbinesfor Industrial
Ge Steam Turbinesfor IndustrialGe Steam Turbinesfor Industrial
Ge Steam Turbinesfor Industrial
AmericanMillwright
 
M Daemon E Mail Server Manual
M Daemon E Mail Server ManualM Daemon E Mail Server Manual
M Daemon E Mail Server Manualguestcf19c83
 
TRU_v29_Reference_Manual_EN_20140325.pdf
TRU_v29_Reference_Manual_EN_20140325.pdfTRU_v29_Reference_Manual_EN_20140325.pdf
TRU_v29_Reference_Manual_EN_20140325.pdf
PEDRO MORALES HERNANDEZ
 
Hypermedia Telular manual-ver5
Hypermedia Telular manual-ver5Hypermedia Telular manual-ver5
Hypermedia Telular manual-ver5
Victor Jaramillo
 
Guia do usuario para interface web do at 8000 s
Guia do usuario para interface web do at 8000 sGuia do usuario para interface web do at 8000 s
Guia do usuario para interface web do at 8000 s
NetPlus
 
Vivitek User Manual H9080 Fd
Vivitek User Manual H9080 FdVivitek User Manual H9080 Fd
Vivitek User Manual H9080 Fdprojectiondreams
 
Administrator guide
Administrator guideAdministrator guide
Administrator guide
rturkman
 
Firewall and proxy servers howto
Firewall and proxy servers howtoFirewall and proxy servers howto
Firewall and proxy servers howtoKumar
 
Zeta Producer 9 CMS online manual
Zeta Producer 9 CMS online manualZeta Producer 9 CMS online manual
Zeta Producer 9 CMS online manual
Uwe Keim
 

Similar to H2 Database New generation embeded database (20)

C2675m c
C2675m cC2675m c
C2675m c
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 
C01508406
C01508406C01508406
C01508406
 
2 x applicationserver
2 x applicationserver2 x applicationserver
2 x applicationserver
 
Diamond
DiamondDiamond
Diamond
 
Pelco c4654 m a-dx-series-client
Pelco c4654 m a-dx-series-clientPelco c4654 m a-dx-series-client
Pelco c4654 m a-dx-series-client
 
Teamviewer manual
Teamviewer manualTeamviewer manual
Teamviewer manual
 
Teamviewer manual
Teamviewer manualTeamviewer manual
Teamviewer manual
 
Teamviewer manual
Teamviewer manualTeamviewer manual
Teamviewer manual
 
PT - Siemens WinCC Flexible Security Hardening Guide
PT - Siemens WinCC Flexible Security Hardening GuidePT - Siemens WinCC Flexible Security Hardening Guide
PT - Siemens WinCC Flexible Security Hardening Guide
 
Lync server2010licensingguide en-us
Lync server2010licensingguide en-usLync server2010licensingguide en-us
Lync server2010licensingguide en-us
 
Ge Steam Turbinesfor Industrial
Ge Steam Turbinesfor IndustrialGe Steam Turbinesfor Industrial
Ge Steam Turbinesfor Industrial
 
M Daemon E Mail Server Manual
M Daemon E Mail Server ManualM Daemon E Mail Server Manual
M Daemon E Mail Server Manual
 
TRU_v29_Reference_Manual_EN_20140325.pdf
TRU_v29_Reference_Manual_EN_20140325.pdfTRU_v29_Reference_Manual_EN_20140325.pdf
TRU_v29_Reference_Manual_EN_20140325.pdf
 
Hypermedia Telular manual-ver5
Hypermedia Telular manual-ver5Hypermedia Telular manual-ver5
Hypermedia Telular manual-ver5
 
Guia do usuario para interface web do at 8000 s
Guia do usuario para interface web do at 8000 sGuia do usuario para interface web do at 8000 s
Guia do usuario para interface web do at 8000 s
 
Vivitek User Manual H9080 Fd
Vivitek User Manual H9080 FdVivitek User Manual H9080 Fd
Vivitek User Manual H9080 Fd
 
Administrator guide
Administrator guideAdministrator guide
Administrator guide
 
Firewall and proxy servers howto
Firewall and proxy servers howtoFirewall and proxy servers howto
Firewall and proxy servers howto
 
Zeta Producer 9 CMS online manual
Zeta Producer 9 CMS online manualZeta Producer 9 CMS online manual
Zeta Producer 9 CMS online manual
 

More from Sanjeev Kulkarni

Jfreereport and Charts an essential Report generation tool for Java Developers
Jfreereport and Charts an essential Report generation tool for Java DevelopersJfreereport and Charts an essential Report generation tool for Java Developers
Jfreereport and Charts an essential Report generation tool for Java DevelopersSanjeev Kulkarni
 

More from Sanjeev Kulkarni (6)

Gooogle Web Toolkit
Gooogle Web ToolkitGooogle Web Toolkit
Gooogle Web Toolkit
 
Orcale Presentation
Orcale PresentationOrcale Presentation
Orcale Presentation
 
Jfreereport and Charts an essential Report generation tool for Java Developers
Jfreereport and Charts an essential Report generation tool for Java DevelopersJfreereport and Charts an essential Report generation tool for Java Developers
Jfreereport and Charts an essential Report generation tool for Java Developers
 
Only In India
Only In IndiaOnly In India
Only In India
 
The Woman
The Woman The Woman
The Woman
 
What is meant by Love???
What is meant by Love???What is meant by Love???
What is meant by Love???
 

Recently uploaded

Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 

Recently uploaded (20)

Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 

H2 Database New generation embeded database

  • 1. H2 Database Engine Version 1.0 / 2006-10-10 1 of 129
  • 2. Table of Contents Quickstart............................................................................................................................................................................................... 9 The H2 Console Application................................................................................................................................................................. 9 Step-by-Step................................................................................................................................................................................ 9 Installation............................................................................................................................................................................. 9 Start the Console.................................................................................................................................................................... 9 Login................................................................................................................................................................................... 10 Sample................................................................................................................................................................................ 11 Execute................................................................................................................................................................................ 12 Disconnect........................................................................................................................................................................... 13 End..................................................................................................................................................................................... 13 Installation............................................................................................................................................................................................ 14 Requirements................................................................................................................................................................................... 14 Supported Platforms......................................................................................................................................................................... 14 Installing the Software...................................................................................................................................................................... 14 Directory Structure........................................................................................................................................................................... 14 Tutorial................................................................................................................................................................................................. 15 Starting and Using the H2 Console..................................................................................................................................................... 15 Firewall...................................................................................................................................................................................... 15 Native Version............................................................................................................................................................................ 15 Testing Java............................................................................................................................................................................... 15 Error Message 'Port is in use'....................................................................................................................................................... 16 Using another Port...................................................................................................................................................................... 16 Starting Successfully................................................................................................................................................................... 16 Connecting to the Server using a Browser..................................................................................................................................... 16 Multiple Concurrent Sessions....................................................................................................................................................... 16 Application Properties................................................................................................................................................................. 16 Login......................................................................................................................................................................................... 16 Error Messages........................................................................................................................................................................... 16 Adding Database Drivers............................................................................................................................................................. 16 Using the Application.................................................................................................................................................................. 17 Inserting Table Names or Column Names..................................................................................................................................... 17 Disconnecting and Stopping the Application.................................................................................................................................. 17 Connecting to a Database using JDBC................................................................................................................................................ 17 Creating New Databases................................................................................................................................................................... 17 Using the Server............................................................................................................................................................................... 17 Limitations of the Server............................................................................................................................................................. 17 Starting from Command Line....................................................................................................................................................... 17 Starting within an Application...................................................................................................................................................... 18 Stopping a TCP Server from Another Process................................................................................................................................ 18 Using Hibernate............................................................................................................................................................................... 18 Using Databases in Web Applications................................................................................................................................................. 18 Embedded Mode......................................................................................................................................................................... 18 Server Mode............................................................................................................................................................................... 19 Using a Servlet Listener to Start and Stop a Database.................................................................................................................... 19 CSV (Comma Separated Values) Support............................................................................................................................................ 19 Writing a CSV File from Within a Database.................................................................................................................................... 19 Reading a CSV File from Within a Database.................................................................................................................................. 19 Writing a CSV File from a Java Application.................................................................................................................................... 20 Reading a CSV File from a Java Application................................................................................................................................... 20 Features................................................................................................................................................................................................ 21 Feature List...................................................................................................................................................................................... 21 Main Features............................................................................................................................................................................ 21 Additional Features..................................................................................................................................................................... 21 SQL Support............................................................................................................................................................................... 21 Security Features........................................................................................................................................................................ 22 Other Features and Tools............................................................................................................................................................ 22 Comparison to Other Database Engines.............................................................................................................................................. 22 Products that Work with H2............................................................................................................................................................... 22 Why Java......................................................................................................................................................................................... 23 Connection Modes............................................................................................................................................................................ 23 Database URL Overview.................................................................................................................................................................... 23 Connecting to an Embedded (Local) Database............................................................................................................................... 24 Memory-Only Databases............................................................................................................................................................. 24 Connecting to a Database with File Encryption.................................................................................................................................... 24 Database File Locking....................................................................................................................................................................... 24 Opening a Database Only if it Already Exists....................................................................................................................................... 25 Closing the Database........................................................................................................................................................................ 25 Delayed Database Closing........................................................................................................................................................... 25 Don't Close the Database when the VM Exists............................................................................................................................... 25 Log Index Changes........................................................................................................................................................................... 25 Ignore Unknown Settings............................................................................................................................................................ 25 Changing Other Settings when Opening a Connection.................................................................................................................... 26 2 of 129
  • 3. Multiple Connections......................................................................................................................................................................... 26 Opening Multiple Databases at the Same Time.............................................................................................................................. 26 Multiple Connections to the Same Database: Client/Server............................................................................................................. 26 Multithreading Support................................................................................................................................................................ 26 Locking, Lock-Timeout, Deadlocks................................................................................................................................................ 26 Database File Layout........................................................................................................................................................................ 27 Moving and Renaming Database Files........................................................................................................................................... 27 Backup...................................................................................................................................................................................... 27 Logging and Recovery...................................................................................................................................................................... 27 Compatibility Modes.......................................................................................................................................................................... 28 Using the Trace Options.................................................................................................................................................................... 28 Trace Options............................................................................................................................................................................. 28 Setting the Maximum Size of the Trace File................................................................................................................................... 28 Java Code Generation................................................................................................................................................................. 29 Enabling the Trace Option at Runtime by Manually Creating a File.................................................................................................. 29 Read Only Databases........................................................................................................................................................................ 29 Binary and Text Storage Formats....................................................................................................................................................... 29 Graceful Handling of Low Disk Space Situations.................................................................................................................................. 29 Opening a Corrupted Database.................................................................................................................................................... 30 Computed Columns / Function Based Index........................................................................................................................................ 30 Multi-Dimensional Indexes................................................................................................................................................................ 30 Using Passwords.............................................................................................................................................................................. 30 Using Secure Passwords.............................................................................................................................................................. 30 Passwords: Using Char Arrays instead of Strings........................................................................................................................... 30 Passing the User Name and/or Password in the URL...................................................................................................................... 31 User Defined Functions and Stored Procedures................................................................................................................................... 31 Function Data Type Mapping....................................................................................................................................................... 31 Functions that require a Connection............................................................................................................................................. 31 Functions throwing an Exception.................................................................................................................................................. 31 Functions returning a Result Set.................................................................................................................................................. 32 Using SimpleResultSet................................................................................................................................................................. 32 Using a Function as a Table......................................................................................................................................................... 32 Triggers........................................................................................................................................................................................... 33 Compacting a Database.................................................................................................................................................................... 33 Performance Comparison........................................................................................................................................................................ 34 Embedded....................................................................................................................................................................................... 34 Client-Server.................................................................................................................................................................................... 34 PolePosition Benchmark.................................................................................................................................................................... 34 Benchmark Results and Comments.................................................................................................................................................... 35 H2............................................................................................................................................................................................. 35 HSQLDB..................................................................................................................................................................................... 35 Derby........................................................................................................................................................................................ 35 PostgreSQL................................................................................................................................................................................ 35 MySQL....................................................................................................................................................................................... 35 Firebird...................................................................................................................................................................................... 36 Why Oracle / MS SQL Server / DB2 are Not Listed......................................................................................................................... 36 About this Benchmark....................................................................................................................................................................... 36 Number of Connections............................................................................................................................................................... 36 Real-World Tests........................................................................................................................................................................ 36 Comparing Embedded with Server Databases................................................................................................................................ 36 Test Platform............................................................................................................................................................................. 36 Multiple Runs............................................................................................................................................................................. 36 Memory Usage........................................................................................................................................................................... 36 Delayed Operations.................................................................................................................................................................... 36 Transaction Commit / Durability................................................................................................................................................... 36 Using Prepared Statements......................................................................................................................................................... 36 Currently Not Tested: Startup Time.............................................................................................................................................. 37 Advanced Topics.................................................................................................................................................................................... 38 Performance Tuning......................................................................................................................................................................... 38 Virus Scanners........................................................................................................................................................................... 38 Index Usage............................................................................................................................................................................... 38 Optimizer................................................................................................................................................................................... 38 Expression Optimization.............................................................................................................................................................. 38 COUNT(*) Optimization............................................................................................................................................................... 38 Updating Optimizer Statistics / Column Selectivity.......................................................................................................................... 38 Result Sets...................................................................................................................................................................................... 39 Limiting the Number of Rows....................................................................................................................................................... 39 Large Result Sets and External Sorting......................................................................................................................................... 39 Large Objects................................................................................................................................................................................... 39 Storing and Reading Large Objects.............................................................................................................................................. 39 Linked Tables................................................................................................................................................................................... 39 Transaction Isolation........................................................................................................................................................................ 39 Table Level Locking.................................................................................................................................................................... 39 Lock Timeout............................................................................................................................................................................. 40 Clustering / High Availability.............................................................................................................................................................. 40 Using the CreateCluster Tool....................................................................................................................................................... 40 Two Phase Commit........................................................................................................................................................................... 41 Compatibility.................................................................................................................................................................................... 41 3 of 129
  • 4. Transaction Commit when Autocommit is On................................................................................................................................ 41 Keywords / Reserved Words........................................................................................................................................................ 41 ODBC Driver.................................................................................................................................................................................... 41 ODBC Installation....................................................................................................................................................................... 41 Log Option................................................................................................................................................................................. 42 Security Considerations............................................................................................................................................................... 42 Uninstalling................................................................................................................................................................................ 42 ACID............................................................................................................................................................................................... 42 Atomicity................................................................................................................................................................................... 42 Consistency................................................................................................................................................................................ 42 Isolation.................................................................................................................................................................................... 42 Durability................................................................................................................................................................................... 43 Running the Durability Test......................................................................................................................................................... 43 Using the Recover Tool..................................................................................................................................................................... 43 File Locking Protocols....................................................................................................................................................................... 43 File Locking Method 'File'............................................................................................................................................................. 44 File Locking Method 'Socket'........................................................................................................................................................ 44 Protection against SQL Injection........................................................................................................................................................ 44 What is SQL Injection................................................................................................................................................................. 44 Disabling Literals........................................................................................................................................................................ 45 Using Constants......................................................................................................................................................................... 45 Using the ZERO() Function.......................................................................................................................................................... 45 Security Protocols............................................................................................................................................................................. 45 User Password Encryption........................................................................................................................................................... 45 File Encryption............................................................................................................................................................................ 46 SSL/TLS Connections.................................................................................................................................................................. 46 HTTPS Connections.................................................................................................................................................................... 46 Universally Unique Identifiers (UUID)................................................................................................................................................. 46 Glossary and Links............................................................................................................................................................................ 47 SQL Grammar........................................................................................................................................................................................ 48 Commands (Data Manipulation)......................................................................................................................................................... 48 Commands (Data Definition)............................................................................................................................................................. 48 Commands (Other)........................................................................................................................................................................... 49 Other Grammar................................................................................................................................................................................ 49 SELECT...................................................................................................................................................................................... 50 INSERT...................................................................................................................................................................................... 50 UPDATE..................................................................................................................................................................................... 50 DELETE..................................................................................................................................................................................... 50 CALL......................................................................................................................................................................................... 51 EXPLAIN.................................................................................................................................................................................... 51 MERGE...................................................................................................................................................................................... 51 RUNSCRIPT................................................................................................................................................................................ 51 SCRIPT...................................................................................................................................................................................... 52 ALTER INDEX RENAME................................................................................................................................................................ 52 ALTER SEQUENCE...................................................................................................................................................................... 52 ALTER TABLE ADD...................................................................................................................................................................... 52 ALTER TABLE ADD CONSTRAINT................................................................................................................................................. 52 ALTER TABLE ALTER COLUMN..................................................................................................................................................... 53 ALTER TABLE ALTER COLUMN RENAME........................................................................................................................................ 53 ALTER TABLE ALTER COLUMN RESTART...................................................................................................................................... 53 ALTER TABLE ALTER COLUMN SELECTIVITY................................................................................................................................. 53 ALTER TABLE ALTER COLUMN SET DEFAULT................................................................................................................................ 53 ALTER TABLE ALTER COLUMN SET NOT NULL.............................................................................................................................. 54 ALTER TABLE ALTER COLUMN SET NULL...................................................................................................................................... 54 ALTER TABLE DROP COLUMN...................................................................................................................................................... 54 ALTER TABLE DROP CONSTRAINT............................................................................................................................................... 54 ALTER TABLE RENAME................................................................................................................................................................ 54 ALTER USER ADMIN................................................................................................................................................................... 54 ALTER USER RENAME................................................................................................................................................................. 55 ALTER USER SET PASSWORD...................................................................................................................................................... 55 ALTER VIEW.............................................................................................................................................................................. 55 ANALYZE................................................................................................................................................................................... 55 CREATE ALIAS............................................................................................................................................................................ 55 CREATE DOMAIN........................................................................................................................................................................ 56 CREATE INDEX........................................................................................................................................................................... 56 CREATE LINKED TABLE............................................................................................................................................................... 56 CREATE ROLE............................................................................................................................................................................ 56 CREATE SCHEMA........................................................................................................................................................................ 56 CREATE SEQUENCE.................................................................................................................................................................... 57 CREATE TABLE........................................................................................................................................................................... 57 CREATE TRIGGER....................................................................................................................................................................... 57 CREATE USER............................................................................................................................................................................ 57 CREATE VIEW............................................................................................................................................................................ 58 DROP ALIAS............................................................................................................................................................................... 58 DROP ALL OBJECTS.................................................................................................................................................................... 58 DROP INDEX.............................................................................................................................................................................. 58 DROP ROLE............................................................................................................................................................................... 58 DROP SEQUENCE....................................................................................................................................................................... 58 4 of 129
  • 5. DROP SCHEMA........................................................................................................................................................................... 59 DROP TABLE.............................................................................................................................................................................. 59 DROP TRIGGER.......................................................................................................................................................................... 59 DROP USER............................................................................................................................................................................... 59 DROP VIEW............................................................................................................................................................................... 59 TRUNCATE TABLE...................................................................................................................................................................... 59 COMMIT.................................................................................................................................................................................... 60 COMMIT TRANSACTION.............................................................................................................................................................. 60 CHECKPOINT............................................................................................................................................................................. 60 CHECKPOINT SYNC.................................................................................................................................................................... 60 GRANT RIGHT............................................................................................................................................................................ 60 GRANT ROLE.............................................................................................................................................................................. 60 HELP......................................................................................................................................................................................... 61 PREPARE COMMIT...................................................................................................................................................................... 61 REVOKE RIGHT.......................................................................................................................................................................... 61 REVOKE ROLE............................................................................................................................................................................ 61 ROLLBACK................................................................................................................................................................................. 61 ROLLBACK TRANSACTION........................................................................................................................................................... 61 SAVEPOINT................................................................................................................................................................................ 62 SET ALLOW_LITERALS................................................................................................................................................................ 62 SET ASSERT............................................................................................................................................................................... 62 SET AUTOCOMMIT..................................................................................................................................................................... 62 SET CACHE_SIZE........................................................................................................................................................................ 62 SET CLUSTER............................................................................................................................................................................. 63 SET COLLATION......................................................................................................................................................................... 63 SET COMPRESS_LOB.................................................................................................................................................................. 63 SET DATABASE_EVENT_LISTENER............................................................................................................................................... 63 SET DB_CLOSE_DELAY............................................................................................................................................................... 64 SET DEFAULT_LOCK_TIMEOUT................................................................................................................................................... 64 SET DEFAULT_TABLE_TYPE........................................................................................................................................................ 64 SET IGNORECASE....................................................................................................................................................................... 64 SET LOCK_MODE........................................................................................................................................................................ 65 SET LOCK_TIMEOUT................................................................................................................................................................... 65 SET LOG.................................................................................................................................................................................... 65 SET MAX_LENGTH_INPLACE_LOB................................................................................................................................................ 65 SET MAX_LOG_SIZE................................................................................................................................................................... 66 SET MAX_MEMORY_ROWS.......................................................................................................................................................... 66 SET MAX_MEMORY_UNDO.......................................................................................................................................................... 66 SET MODE................................................................................................................................................................................. 66 SET MULTI_THREADED............................................................................................................................................................... 67 SET PASSWORD......................................................................................................................................................................... 67 SET SALT HASH.......................................................................................................................................................................... 67 SET THROTTLE.......................................................................................................................................................................... 67 SET TRACE_LEVEL...................................................................................................................................................................... 67 SET TRACE_MAX_FILE_SIZE........................................................................................................................................................ 68 SET WRITE_DELAY..................................................................................................................................................................... 68 SHUTDOWN............................................................................................................................................................................... 68 Comment................................................................................................................................................................................... 68 Select Part................................................................................................................................................................................. 68 From Part.................................................................................................................................................................................. 69 Constraint.................................................................................................................................................................................. 69 Referential Constraint................................................................................................................................................................. 69 Table Expression........................................................................................................................................................................ 69 Order........................................................................................................................................................................................ 69 Expression................................................................................................................................................................................. 70 And Condition............................................................................................................................................................................ 70 Condition................................................................................................................................................................................... 70 Condition Right Hand Side........................................................................................................................................................... 70 Compare.................................................................................................................................................................................... 70 Operand.................................................................................................................................................................................... 70 Summand.................................................................................................................................................................................. 71 Factor........................................................................................................................................................................................ 71 Term......................................................................................................................................................................................... 71 Value......................................................................................................................................................................................... 71 Case.......................................................................................................................................................................................... 71 Case When................................................................................................................................................................................ 72 Cipher....................................................................................................................................................................................... 72 Select Expression........................................................................................................................................................................ 72 Data Type.................................................................................................................................................................................. 72 Name........................................................................................................................................................................................ 72 Alias.......................................................................................................................................................................................... 72 Quoted Name............................................................................................................................................................................. 73 String........................................................................................................................................................................................ 73 Int............................................................................................................................................................................................. 73 Long.......................................................................................................................................................................................... 73 Hex Number............................................................................................................................................................................... 73 Decimal..................................................................................................................................................................................... 73 Double....................................................................................................................................................................................... 74 5 of 129
  • 6. Date.......................................................................................................................................................................................... 74 Time.......................................................................................................................................................................................... 74 Timestamp................................................................................................................................................................................. 74 Boolean..................................................................................................................................................................................... 74 Bytes......................................................................................................................................................................................... 74 Null........................................................................................................................................................................................... 75 Hex........................................................................................................................................................................................... 75 Digit.......................................................................................................................................................................................... 75 Functions.............................................................................................................................................................................................. 76 Aggregate Functions......................................................................................................................................................................... 76 Numeric Functions............................................................................................................................................................................ 76 String Functions............................................................................................................................................................................... 76 Time and Date Functions.................................................................................................................................................................. 77 System Functions............................................................................................................................................................................. 77 AVG........................................................................................................................................................................................... 78 COUNT...................................................................................................................................................................................... 78 GROUP_CONCAT........................................................................................................................................................................ 78 MAX.......................................................................................................................................................................................... 78 MIN........................................................................................................................................................................................... 78 SUM.......................................................................................................................................................................................... 78 SELECTIVITY............................................................................................................................................................................. 79 STDDEV_POP............................................................................................................................................................................. 79 STDDEV_SAMP........................................................................................................................................................................... 79 VAR_POP................................................................................................................................................................................... 79 VAR_SAMP................................................................................................................................................................................. 79 ABS........................................................................................................................................................................................... 79 ACOS......................................................................................................................................................................................... 80 ASIN......................................................................................................................................................................................... 80 ATAN......................................................................................................................................................................................... 80 COS........................................................................................................................................................................................... 80 COT.......................................................................................................................................................................................... 80 SIN........................................................................................................................................................................................... 80 TAN........................................................................................................................................................................................... 81 ATAN2....................................................................................................................................................................................... 81 BITAND..................................................................................................................................................................................... 81 BITOR....................................................................................................................................................................................... 81 BITXOR..................................................................................................................................................................................... 81 MOD.......................................................................................................................................................................................... 81 CEILING.................................................................................................................................................................................... 82 DEGREES................................................................................................................................................................................... 82 EXP........................................................................................................................................................................................... 82 FLOOR....................................................................................................................................................................................... 82 LOG........................................................................................................................................................................................... 82 LOG10....................................................................................................................................................................................... 82 RADIANS................................................................................................................................................................................... 83 SQRT......................................................................................................................................................................................... 83 PI.............................................................................................................................................................................................. 83 POWER...................................................................................................................................................................................... 83 RAND........................................................................................................................................................................................ 83 RANDOM_UUID.......................................................................................................................................................................... 83 ROUND...................................................................................................................................................................................... 84 ROUNDMAGIC............................................................................................................................................................................ 84 SECURE_RAND........................................................................................................................................................................... 84 SIGN......................................................................................................................................................................................... 84 ENCRYPT................................................................................................................................................................................... 84 DECRYPT................................................................................................................................................................................... 84 HASH........................................................................................................................................................................................ 85 TRUNCATE................................................................................................................................................................................. 85 COMPRESS................................................................................................................................................................................. 85 EXPAND..................................................................................................................................................................................... 85 ZERO......................................................................................................................................................................................... 85 ASCII........................................................................................................................................................................................ 85 BIT_LENGTH.............................................................................................................................................................................. 86 LENGTH..................................................................................................................................................................................... 86 OCTET_LENGTH......................................................................................................................................................................... 86 CHAR........................................................................................................................................................................................ 86 CONCAT.................................................................................................................................................................................... 86 DIFFERENCE.............................................................................................................................................................................. 86 HEXTORAW................................................................................................................................................................................ 87 RAWTOHEX................................................................................................................................................................................ 87 INSTR....................................................................................................................................................................................... 87 INSERT Function........................................................................................................................................................................ 87 LOWER...................................................................................................................................................................................... 87 UPPER....................................................................................................................................................................................... 87 LEFT.......................................................................................................................................................................................... 88 RIGHT....................................................................................................................................................................................... 88 LOCATE..................................................................................................................................................................................... 88 POSITION.................................................................................................................................................................................. 88 6 of 129
  • 7. LTRIM....................................................................................................................................................................................... 88 RTRIM....................................................................................................................................................................................... 88 TRIM......................................................................................................................................................................................... 89 REPEAT..................................................................................................................................................................................... 89 REPLACE.................................................................................................................................................................................... 89 SOUNDEX.................................................................................................................................................................................. 89 SPACE....................................................................................................................................................................................... 89 STRINGDECODE......................................................................................................................................................................... 89 STRINGENCODE......................................................................................................................................................................... 90 STRINGTOUTF8.......................................................................................................................................................................... 90 SUBSTRING............................................................................................................................................................................... 90 UTF8TOSTRING.......................................................................................................................................................................... 90 XMLATTR................................................................................................................................................................................... 90 XMLNODE.................................................................................................................................................................................. 90 XMLCOMMENT........................................................................................................................................................................... 91 XMLCDATA................................................................................................................................................................................. 91 XMLSTARTDOC.......................................................................................................................................................................... 91 XMLTEXT................................................................................................................................................................................... 91 AUTOCOMMIT............................................................................................................................................................................ 91 CASEWHEN Function................................................................................................................................................................... 91 CAST......................................................................................................................................................................................... 92 COALESCE................................................................................................................................................................................. 92 CONVERT.................................................................................................................................................................................. 92 CURRVAL................................................................................................................................................................................... 92 CSVREAD................................................................................................................................................................................... 92 CSVWRITE................................................................................................................................................................................. 92 DATABASE................................................................................................................................................................................. 93 DATABASE_PATH....................................................................................................................................................................... 93 IDENTITY.................................................................................................................................................................................. 93 IFNULL...................................................................................................................................................................................... 93 LOCK_MODE.............................................................................................................................................................................. 93 LOCK_TIMEOUT......................................................................................................................................................................... 93 MEMORY_FREE.......................................................................................................................................................................... 94 MEMORY_USED.......................................................................................................................................................................... 94 NEXTVAL................................................................................................................................................................................... 94 NULLIF...................................................................................................................................................................................... 94 READONLY................................................................................................................................................................................. 94 ROWNUM................................................................................................................................................................................... 94 USER......................................................................................................................................................................................... 95 CURRENT_DATE......................................................................................................................................................................... 95 CURRENT_TIME......................................................................................................................................................................... 95 CURRENT_TIMESTAMP............................................................................................................................................................... 95 DATEADD.................................................................................................................................................................................. 95 DATEDIFF.................................................................................................................................................................................. 95 DAYNAME.................................................................................................................................................................................. 96 DAYOFMONTH........................................................................................................................................................................... 96 DAYOFWEEK.............................................................................................................................................................................. 96 DAYOFYEAR............................................................................................................................................................................... 96 EXTRACT................................................................................................................................................................................... 96 FORMATDATETIME..................................................................................................................................................................... 96 HOUR........................................................................................................................................................................................ 97 MINUTE..................................................................................................................................................................................... 97 MONTH...................................................................................................................................................................................... 97 MONTHNAME............................................................................................................................................................................. 97 PARSEDATETIME........................................................................................................................................................................ 97 QUARTER.................................................................................................................................................................................. 97 SECOND.................................................................................................................................................................................... 98 WEEK........................................................................................................................................................................................ 98 YEAR......................................................................................................................................................................................... 98 Data Types............................................................................................................................................................................................ 99 INT Type................................................................................................................................................................................... 99 BOOLEAN Type.......................................................................................................................................................................... 99 TINYINT Type............................................................................................................................................................................ 99 SMALLINT Type.......................................................................................................................................................................... 99 BIGINT Type............................................................................................................................................................................ 100 IDENTITY Type........................................................................................................................................................................ 100 DECIMAL Type......................................................................................................................................................................... 100 DOUBLE Type........................................................................................................................................................................... 100 REAL Type............................................................................................................................................................................... 100 TIME Type............................................................................................................................................................................... 100 DATE Type............................................................................................................................................................................... 101 TIMESTAMP Type..................................................................................................................................................................... 101 BINARY Type............................................................................................................................................................................ 101 OTHER Type............................................................................................................................................................................ 101 VARCHAR Type......................................................................................................................................................................... 101 VARCHAR_IGNORECASE Type.................................................................................................................................................... 102 BLOB Type............................................................................................................................................................................... 102 CLOB Type............................................................................................................................................................................... 102 7 of 129