Download Informix Guide to SQL: Syntax, Version 6.0
Transcript
Expression Use a table or alias name whenever it is necessary to distinguish between columns that have the same name but are in different tables. The SELECT statements shown in the following example use customer_num from the customer and orders tables, so they precede the column names with the table names: SELECT * FROM customer, orders WHERE customer.customer_num = orders.customer_num SELECT * FROM customer c, orders o WHERE c.customer_num = o.customer_num Using Subscripts on Character Columns You can use subscripts on CHAR, VARCHAR, NCHAR, NVARCHAR, BYTE, and TEXT columns. The subscripts indicate the starting and ending character positions contained in the expression. For example, if a value in the lname column of the customer table is Greenburg, the following expression evaluates to burg: fname[6,9] 1-434 Syntax
Related documents
Informix Guide to SQL: Syntax
IBM Informix Guide to SQL Reference
DashBoard Server and URM User Manual
Informix Guide to SQL: Tutorial, Version 6.0
Lexmark X215 MFP User's Manual
CMC III Processing Unit / CMC III Processing Unit Compact
LT-657 FX-2000 Installation and Operation Manual
External report - SCK-CEN
Model 2100 Conductivity Meter Instruction Manual
FieldServer Configuration Manual
Using Triggers, Version 5.x
SQL Quick Syntax Guide
CMS 1
UNIX Products Installation Guide, Version 5.2
Informix Embedded SQL TP/XA Programmer`s Manual
Informix Guide to GLS Functionality, December 1999
Informix Guide to SQL: Tutorial
In This Chapter
Progress Results User`s Guide for Windows
User Manual
3 - Service Software Instructions
Informix Guide to GLS Functionality, February 1998