Jump to main content
Product Documentation
Customer Support
HCL OneDB V 1.0.1.0
What's new in
HCL OneDB™
1.0.1.0
Getting Started
Installing
Administering
Security
Client APIs and tools
SQL programming
JSON compatibility
Extending
HCL OneDB™
Designing databases
Embedding
HCL OneDB™
Release information
Search
Home
SQL programming
You can use the
HCL OneDB™
implementation of the SQL language to develop applications for
HCL OneDB™
database servers.
Guide to SQL: Syntax
The
HCL OneDB™ Guide to SQL: Syntax
describes the syntax of the statements, data types, expressions, operators, and built-in functions of the
HCL OneDB™
dialect of the SQL language.
Built-in routines
Use build-in routines in SQL statements to perform specialized tasks.
Extended Utilities
Explain Utilities
SQL programming
You can use the
HCL OneDB™
implementation of the SQL language to develop applications for
HCL OneDB™
database servers.
Guide to SQL: Syntax
The
HCL OneDB™ Guide to SQL: Syntax
describes the syntax of the statements, data types, expressions, operators, and built-in functions of the
HCL OneDB™
dialect of the SQL language.
Overview of SQL syntax
These topics provide an overview about how to use the
SQL
statements,
SPL
statements, and syntax segments.
SQL statements
This chapter describes the syntax and semantics of SQL statements that are recognized by
HCL OneDB™
.
SPL statements
These topics describe Stored Procedure Language (
SPL
) statements, which you use to write SPL routines. You can store these routines in the database as user-defined routines (UDRs).
Data types and expressions
These topics describe the data types and expressions that
HCL OneDB™
supports.
Other syntax segments
These topics describe
syntax segments
, which are language elements, such as database object names or optimizer directives, that appear as a subdiagram reference in the syntax diagrams of some SQL or SPL statements.
Built-in routines
Use build-in routines in SQL statements to perform specialized tasks.
Interval functions
Use the interval functions to return an INTERVAL value from arguments that include a number and a character-string representing time units and separators in INTERVAL qualifiers. These functions are useful in CREATE TABLE, CREATE INDEX, and ALTER FRAGMENT statements that define or modify range-interval distributed storage strategies for indexes and tables.
Session Configuration Procedures
BSON processing functions
BSON processing functions manipulate BSON data. Some SQL statements require function expressions that call these built-in functions.
DataBlade®
Module Management Functions
From sessions connected to
HCL OneDB™
databases that support explicit transaction logging, you can register or unregister
DataBlade®
modules by issuing SQL statements that call the built-in
SYSBldPrepare( )
function. Another built-in function,
SYSBldRelease( )
, returns the version string of the
SYSBldPrepare( )
function in the local database.
UDR Definition Routines
jvpcontrol Function
SQLJ Driver Built-In Procedures
DRDA® Support Functions
Extended Utilities
Character Utilities
Explain Utilities
Large Object Utilities
J/Foundation Function Utilities
Appendixes
Guide to SQL: Reference
The
HCL OneDB™ Guide to SQL: Reference
contains the reference information for the system catalog tables, data types, and environment variables of the
HCL OneDB™
dialect of the SQL language, as implemented in
HCL OneDB™
.
These topics also include information about the stores_demo, sales_demo, and superstore_demo databases that are included with
HCL OneDB™
.
Guide to SQL: Tutorial
The
HCL OneDB™
Guide to SQL: Tutorial
shows how to use basic and advanced structured query language (SQL) to access and manipulate the data in your databases.
It discusses the data manipulation language (DML) statements as well as triggers and stored procedure language (SPL) routines, which DML statements often use.
Explain Utilities
getExplain
Runs a query plan on the given query. It performs a fully execution on the query to generate the complete query plan, fetches the plan from the server and returns it as an LVARCHAR.