This book provides reference material for Sybase IQ SQL statements and database options. Reference material for other aspects of Sybase IQ, including language elements, data types, functions, system procedures, and system tables is provided in Reference: Building Blocks, Tables, and Procedures. Other books provide more context on how to perform particular tasks. This reference book is the place to look for information such as available SQL syntax, parameters, and options. For command line utility start-up parameters, see the Utility Guide.
This manual is a reference for all users of Sybase IQ.
This book provides comprehensive descriptions of Sybase IQ statements and options, but it does not describe why you might want to use these features. Use this book as a reference together with the other books in the Sybase IQ documentation set.
Windows platforms The Windows information in this book applies to all supported Windows platforms, unless otherwise noted. For supported Windows platforms, see the Sybase IQ Release Bulletin for Windows.
The Sybase IQ 15.1 documentation set includes:
Release Bulletin provides information about last-minute changes to the product and documentation.
Installation and Configuration Guide provides platform-specific instructions on installing, migrating to a new version, and configuring Sybase IQ for a particular platform.
Advanced Security in Sybase IQ covers the use of user encrypted columns within the Sybase IQ data repository. You need a separate license to install this product option.
Error Messages lists Sybase IQ error messages referenced by Sybase error code, SQLCode, and SQLState, and SQL preprocessor errors and warnings.
IMSL Numerical Library User’s Guide: Volume 2 of 2 C Stat Library contains a concise description of the IMSL C Stat Library time series C functions. This book is only available to RAP – The Trading Edition™ Enterprise users.
Introduction to Sybase IQ includes hands-on exercises for those unfamiliar with Sybase IQ or with the Sybase Central™ database management tool.
Large Objects Management in Sybase IQ explains storage and retrieval of Binary Large Objects (BLOBs) and Character Large Objects (CLOBs) within the Sybase IQ data repository. You need a separate license to install this product option.
New Features in Sybase IQ 15.0 documents new features and behavior changes for version 15.0.
New Features Summary Sybase IQ 15.1 summarizes new features and behavior changes for the current version.
Performance and Tuning Guide describes query optimization, design, and tuning issues for very large databases.
Quick Start lists steps to build and query the demo database provided with Sybase IQ for validating the Sybase IQ software installation. Includes information on converting the demo database to multiplex.
Reference Manual – Includes two reference guides to Sybase IQ:
Reference: Building Blocks, Tables, and Procedures describes SQL, stored procedures, data types, and system tables that Sybase IQ supports.
Reference: Statements and Options describes the SQL statements and options that Sybase IQ supports.
System Administration Guide – Includes two volumes:
System Administration Guide: Volume 1 describes startup, connections, database creation, population and indexing, versioning, collations, system backup and recovery, troubleshooting, and database repair.
System Administration Guide: Volume 2 describes writing and running procedures and batches, programming with OLAP, accessing remote data, setting up IQ as an Open Server, scheduling and event handling, programming with XML, and debugging.
User-Defined Functions Guide provides information about the user-defined functions, their parameters, and possible usage scenarios.
Using Sybase IQ Multiplex tells how to use multiplex capability, designed to manage large query loads across multiple nodes.
Utility Guide provides Sybase IQ utility program reference material, such as available syntax, parameters, and options.
Sybase IQ and SQL Anywhere Because Sybase IQ is an extension of SQL Anywhere Server, a component of the SQL Anywhere® package, Sybase IQ supports many of the same features as SQL Anywhere Server. The IQ documentation set refers you to SQL Anywhere documentation, where appropriate.
Documentation for SQL Anywhere includes:
SQL Anywhere Server – Database Administration describes how to run, manage, and configure SQL Anywhere databases. It describes database connections, the database server, database files, backup procedures, security, high availability, and replication with Replication Server®, as well as administration utilities and options.
SQL Anywhere Server – Programming describes how to build and deploy database applications using the C, C++, Java, PHP, Perl, Python, and .NET programming languages such as Visual Basic and Visual C#. This book also describes a variety of programming interfaces such as ADO.NET and ODBC.
SQL Anywhere Server – SQL Reference provides reference information for system procedures, and the catalog (system tables and views). It also provides an explanation of the SQL Anywhere implementation of the SQL language (search conditions, syntax, data types, and functions).
SQL Anywhere Server – SQL Usage describes how to design and create databases; how to import, export, and modify data; how to retrieve data; and how to build stored procedures and triggers.
You can also refer to the SQL Anywhere documentation in the SQL Anywhere 11.0.1 collection at Product Manuals and in DocCommentXchange.
Documentation for Sybase Software Asset Management (SySAM) includes:
Sybase Software Asset Management (SySAM) 2 introduces asset management concepts and provides instructions for establishing and administering SySAM 2 licenses.
SySAM 2 Quick Start Guide tells you how to get your SySAM-enabled Sybase product up and running.
FLEXnet Licensing End User Guide explains FLEXnet Licensing for administrators and end users and describes how to use the tools that are part of the standard FLEXnet Licensing distribution kit from Sybase.
Use the Sybase Getting Started CD, the SyBooks™ CD, and the Sybase Product Manuals Web site to learn more about your product:
The Getting Started CD contains release bulletins and installation guides in PDF format, and may also contain other documents or updated information not included on the SyBooks CD. It is included with your software. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader, which you can download at no charge from the Adobe Web site using a link provided on the CD.
The SyBooks CD contains product manuals and is included with your software. The Eclipse-based SyBooks browser allows you to access the manuals in an easy-to-use, HTML-based format.
Some documentation may be provided in PDF format, which you can access through the PDF directory on the SyBooks CD. To read or print the PDF files, you need Adobe Acrobat Reader.
Refer to the SyBooks Installation Guide on the Getting Started CD, or the README.txt file on the SyBooks CD for instructions on installing and starting SyBooks.
The Sybase Product Manuals Web site is an online version of the SyBooks CD that you can access using a standard Web browser. In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Either select the product family and product under Search by Base Product; or select the platform and product under Search by Platform.
Select Search to display the availability and certification report for the selection.
Finding the latest information on component certifications
Point your Web browser to Availability and Certification Reports.
Either select the product family and product under Search by Base Product; or select the platform and product under Search by Platform.
Select Search to display the availability and certification report for the selection.
Creating a personalized view of the Sybase Web site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.
Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered, but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
This documentation uses these conventions in syntax descriptions:
Keywords SQL keywords are shown in UPPERCASE. However, SQL keywords are case-insensitive, so you can enter keywords in any case; SELECT, Select, and select are equivalent.
Placeholders Items that must be replaced with appropriate identifiers or expressions are shown in italics.
Continuation Lines beginning with an ellipsis (...) are a continuation of the statements from the previous line.
Repeating items Lists of repeating items are shown with an element of the list followed by an ellipsis (...). One or more list elements are allowed. If multiple elements are specified, they must be separated by commas.
Optional portions Optional portions of a statement are enclosed by square brackets. For example:
RELEASE SAVEPOINT [ savepoint-name ]
The square brackets indicate that the savepoint-name is optional. Do not type the brackets.
Options When none or only one of a list of items must be chosen, the items are separated by vertical bars and the list enclosed in square brackets. For example:
[ ASC | DESC ]
The square brackets indicate that you can choose ASC, DESC, or neither. Do not type the brackets.
Alternatives When precisely one of the options must be chosen, the alternatives are enclosed in curly braces. For example:
QUOTES { ON | OFF }
The curly braces indicate that you must include either ON or OFF. Do not type the brackets.
Table 1 lists the typographic conventions used in this documentation.
Item |
Description |
---|---|
|
SQL and program code appears in a monospaced (fixed-width) font. |
|
Text entered by the user is shown in a monospaced (fixed-width) font. |
emphasis |
Emphasized words are shown in italic. |
file names |
File names are shown in italic. |
database objects |
Names of database objects, such as tables and procedures, are shown in bold, sans serif type in print, and in italic online. |
Sybase IQ includes scripts to create a demo database (iqdemo.db). Many of the queries and code samples in this document use the demo database as a data source.
The demo database contains internal information about a small company (employees, departments, and financial data), as well as product (products), and sales information (sales orders, customers, and contacts).
See the Sybase IQ installation guide for your platform or talk to your system administrator for more information about the demo database.
This document is available in an HTML version that is specialized for accessibility. You can navigate the HTML with an adaptive technology such as a screen reader, or view it with a screen enlarger.
Sybase IQ 15.1 and the HTML documentation have been tested for compliance with U.S. government Section 508 Accessibility requirements. Documents that comply with Section 508 generally also meet non-U.S. accessibility guidelines, such as the World Wide Web Consortium (W3C) guidelines for Web sites.
Configuring your accessibility tool You might need to configure your accessibility tool for optimal use. Some screen readers pronounce text based on its case; for example, they pronounce ALL UPPERCASE TEXT as initials, and MixedCase Text as words. You might find it helpful to configure your tool to announce syntax conventions. Consult the documentation for your tool for information on using screen readers.
For information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.
For a Section 508 compliance statement for Sybase IQ, go to Sybase Accessibility.
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.