About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
News
Abstract
This version of the SQL Reference for Cross-platform Development describes the common set of SQL language features that are supported across all platforms by the Db2 family products as of 2018.
Content
Version 6 of the SQL Reference for Cross-Platform Development includes SQL features common to the Db2 family of products.
The major new features covered in this book include:
- BINARY and VARBINARY data types
- aggregation-specification in an OLAP specification
- DISTINCT predicate
- Query enhancements:
- OFFSET and LIMIT
- period-specification
- New built-in functions:
- Aggregate Functions: CORRELATION, COVARIANCE, COVARIANCE_SAMP, LISTAGG, MEDIAN, PERCENTILE_CONT, PERCENTILE_DISC, STDDEV_POP, STDDEV_SAMP, VARIANCE_POP, and VARIANCE_SAMP
- Cast Scalar Functions: BINARY and VARBINARY
- Datetime Scalar Functions: DAYOFMONTH
- Miscellaneous Scalar Functions: WRAP
- String Scalar Functions: LOCATE_IN_STRING and OVERLAY
- Miscellaneous Scalar function enhancements
- Procedures: XSR_ADDSCHEMADOC, XSR_COMPLETE, and XSR_REGISTER
- System-period temporal tables
- CURRENT TEMPORAL SYSTEM_TIME
- ALTER TABLE PERIOD clause
- ALTER TABLE GENERATED ROW BEGIN, ROW END, and TRANSACTION START ID
- CREATE TABLE PERIOD clause
- CREATE TABLE GENERATED ROW BEGIN, ROW END, and TRANSACTION START ID
- SET CURRENT TEMPORAL SYSTEM_TIME
- COMMENT on a sequence
- CREATE OR REPLACE TRIGGER
- CREATE TRIGGER SQL-control statements
- fetch-clause in Searched DELETE
- GRANT SCHEMA and REVOKE SCHEMA
- MERGE statement extensions
- Obfuscation of SQL functions, procedures, and triggers
- TRANSFER OWNERSHIP
- Declared constants in a compound-statement
- RETURN fullselect
Additional information about the SQL Reference for Cross-Platform Development is available at this link: SQL Reference for Cross-platform Development
Download
Description |
|
SQL Reference for Cross-Platform Development Version 6 |
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHeAAM","label":"IBM i Db2"}],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"ARM Category":[{"code":"a8m0z000000074lAAA","label":"Compatibility-\u003EApplication compatibility"},{"code":"a8m0z000000074aAAA","label":"SQL"}],"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"12.0.0"},{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m3p000000h9xfAAA","label":"Application Development"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1.0"}]
Was this topic helpful?
Document Information
More support for:
IBM i
Component:
IBM i Db2
Software version:
All Versions
Operating system(s):
IBM i
Document number:
7053257
Modified date:
17 November 2023
UID
ibm17053257
Manage My Notification Subscriptions