HP Neoview SQL Reference Manual page 9

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

Literals.................................................................................................................................................274
Character String Literals................................................................................................................274
Datetime Literals............................................................................................................................275
Interval Literals..............................................................................................................................277
Numeric Literals............................................................................................................................279
Materialized Views.............................................................................................................................281
Types of Materialized Views..........................................................................................................281
MVGROUPs .......................................................................................................................................282
Null......................................................................................................................................................283
Using Null Versus Default Values.................................................................................................283
Defining Columns That Allow or Prohibit Null............................................................................283
Partitions.............................................................................................................................................285
Hash Partition Keys.......................................................................................................................285
Automatically Creating Partitions.................................................................................................285
Predicates............................................................................................................................................286
BETWEEN Predicate......................................................................................................................286
Comparison Predicates..................................................................................................................287
EXISTS Predicate............................................................................................................................291
IN Predicate...................................................................................................................................292
LIKE Predicate...............................................................................................................................294
NULL Predicate.............................................................................................................................296
Quantified Comparison Predicates...............................................................................................297
Privileges.............................................................................................................................................301
Considerations...............................................................................................................................301
Schemas...............................................................................................................................................304
Search Condition.................................................................................................................................305
Considerations for Search Condition............................................................................................305
Examples of Search Condition.......................................................................................................306
Subquery.............................................................................................................................................307
SELECT Form of a Subquery.........................................................................................................307
Using Subqueries to Provide Comparison Values.........................................................................307
Nested Subqueries When Providing Comparison Values.............................................................307
Correlated Subqueries When Providing Comparison Values.......................................................308
Synonyms............................................................................................................................................309
Tables...................................................................................................................................................310
Base Tables and Views...................................................................................................................310
Example of a Base Table.................................................................................................................310
Triggers................................................................................................................................................311
Views...................................................................................................................................................312
SQL Views......................................................................................................................................312
Example of a View.........................................................................................................................312
5 SQL Clauses...............................................................................................................313
DEFAULT Clause................................................................................................................................314
Examples of DEFAULT..................................................................................................................315
FORMAT Clause.................................................................................................................................316
Considerations for Date Formats...................................................................................................317
Considerations for Other Formats.................................................................................................317
Examples of FORMAT...................................................................................................................317
SAMPLE Clause..................................................................................................................................318
Considerations for SAMPLE..........................................................................................................319
Examples of SAMPLE....................................................................................................................320
SEQUENCE BY Clause.......................................................................................................................326
Considerations for SEQUENCE BY...............................................................................................326
Table of Contents
9

Advertisement

Table of Contents
loading

Table of Contents