IBM Informix Guide to SQL: Reference
Total Page:16
File Type:pdf, Size:1020Kb
IBM Informix Version 11.1 IBM Informix Guide to SQL: Reference G229-6374-00 IBM Informix Version 11.1 IBM Informix Guide to SQL: Reference G229-6374-00 Note: Before using this information and the product it supports read the information in “Notices” on page D-1. This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this publication should not be interpreted as such. When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 1996, 2007. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Introduction . .ix About This Publication . .ix Types of Users . .ix Software Dependencies . .x Assumptions About Your Locale . .x Demonstration Database . .x New Features in Dynamic Server, Version 11.1 . .xi Documentation Conventions . xiii Typographical Conventions . xiii Feature, Product, and Platform Markup . xiv Example Code Conventions . xiv Additional Documentation . .xv Compliance with Industry Standards . .xv Syntax Diagrams . .xv How to Read a Command-Line Syntax Diagram . xvi Keywords and Punctuation . xvii Identifiers and Names . xviii IBM Welcomes Your Comments . xviii Chapter 1. System Catalog Tables . 1-1 In This Chapter . 1-2 Objects That the System Catalog Tables Track . 1-2 Using the System Catalog . 1-2 Structure of the System Catalog . 1-8 SYSAGGREGATES (IDS) . 1-10 SYSAMS (IDS) . 1-11 SYSATTRTYPES (IDS) . 1-13 SYSBLOBS . 1-13 SYSCASTS (IDS) . 1-14 SYSCHECKS . 1-15 SYSCHECKUDRDEP (IDS) . 1-15 SYSCOLATTRIBS (IDS) . 1-15 SYSCOLAUTH . 1-16 SYSCOLDEPEND . 1-17 SYSCOLUMNS . 1-18 SYSCONSTRAINTS . 1-21 SYSDEFAULTS . 1-22 SYSDEPEND . 1-23 SYSDIRECTIVES (IDS) . 1-23 SYSDISTRIB . 1-24 SYSDOMAINS (IDS) . 1-25 SYSERRORS (IDS) . 1-25 SYSEXTCOLS (XPS) . 1-26 SYSEXTDFILES (XPS) . 1-26 SYSEXTERNAL (XPS) . 1-27 SYSFRAGAUTH (IDS) . 1-27 SYSFRAGMENTS . 1-28 SYSINDEXES . 1-30 SYSINDICES (IDS) . 1-31 SYSINHERITS (IDS) . 1-32 SYSLANGAUTH (IDS) . 1-32 SYSLOGMAP (IDS) . 1-33 SYSNEWDEPEND (XPS) . 1-33 SYSOBJSTATE (IDS) . 1-33 SYSOPCLASSES (IDS) . 1-34 © Copyright IBM Corp. 1996, 2007 iii SYSOPCLSTR . 1-35 SYSPROCAUTH . 1-36 SYSPROCBODY . 1-36 SYSPROCCOLUMNS . 1-37 SYSPROCEDURES . 1-37 SYSPROCPLAN . 1-40 SYSREFERENCES . 1-41 SYSREPOSITORY (XPS) . 1-41 SYSROLEAUTH . 1-42 SYSROUTINELANGS (IDS) . 1-42 SYSSECLABELCOMPONENTS . 1-42 SYSSECLABELCOMPONENTELEMENTS . 1-43 SYSSECPOLICIES . 1-43 SYSSECPOLICYCOMPONENTS . 1-44 SYSSECPOLICYEXEMPTIONS . 1-44 SYSSECLABELS . 1-44 SYSSECLABELNAMES . 1-45 SYSSECLABELAUTH . 1-45 SYSSEQUENCES (IDS) . 1-45 SYSSYNONYMS . 1-45 SYSSYNTABLE . 1-46 SYSTABAMDATA (IDS) . 1-46 SYSTABAUTH . 1-47 SYSTABLES . 1-48 SYSTRACECLASSES (IDS) . 1-50 SYSTRACEMSGS (IDS) . 1-50 SYSTRIGBODY . 1-51 SYSTRIGGERS . 1-51 SYSUSERS . 1-52 SYSVIEWS . 1-53 SYSVIOLATIONS . 1-53 SYSXADATASOURCES . 1-54 SYSXASOURCETYPES . 1-54 SYSXTDDESC (IDS) . 1-54 SYSXTDTYPEAUTH (IDS) . 1-55 SYSXTDTYPES (IDS) . 1-55 Information Schema (IDS) . 1-56 Generating the Information Schema Views . 1-57 Accessing the Information Schema Views . 1-57 Structure of the Information Schema Views . 1-57 Chapter 2. Data Types . 2-1 In This Chapter . 2-2 Summary of Data Types . 2-2 Description of Data Types . 2-5 BIGINT (XPS) . 2-5 BLOB (IDS) . 2-5 BOOLEAN (IDS) . 2-5 BYTE . ..