Download Informix Guide to SQL: Tutorial, Version 6.0
Transcript
Single-Table SELECT Statements can search for occurrences of a percent sign (%) in the res_descr column with the LIKE wildcard %. The query retrieves the row shown in Query Result 2-35: customer_num call_dtime user_id call_code call_descr res_dtime res_descr 116 1992-12-21 11:24 mannyn I Second complaint from this customer! Received two cases right-handed outfielder gloves (1 HRO) instead of one case lefties. 1992-12-27 08:19 Memo to shipping (Ava Brown) to send case of left-handed gloves, pick up wrong case; memo to billing requesting 5% discount to placate customer due to second offense and lateness of resolution because of holiday Query Result 2-35 Using Subscripting in a WHERE Clause You can use subscripting in the WHERE clause of a SELECT statement to specify a range of characters or numbers in a column, as shown in Query 2-36: SELECT catalog_num, stock_num, manu_code, cat_advert, cat_descr FROM catalog WHERE cat_advert[1,4] = 'High' Query 2-36 The subscript [1,4] causes Query 2-36 to retrieve all rows in which the first four letters of the cat_advert column are High, as shown in Query Result 2-36: 2-44 Composing Simple SELECT Statements
Related documents
IBM Informix Guide to SQL: Tutorial, Version 5.2
Installation Guide and User`s Manual
Model 2100 Conductivity Meter Instruction Manual
Performance Guide for Informix Dynamic Server, Version 7.3
M@C IIA_Handbuch_V0_90
Method and apparatus for computing device with status display
Informix Guide to SQL: Tutorial
Informix 4GL By Example, Version 4.1
addendum 3
FLUKE 192 Datasheet - Buy Used Test Equipment
Informix Guide to SQL: Syntax, Version 6.0
Supplementary User`s Manual
LT-657 FX-2000 Installation and Operation Manual
Cub Cadet Tank S S7232D Operator`s manual
STAR USER MANUAL
IBM Informix Guide to SQL Reference
3 - Service Software Instructions
Quantum Pathlight VX User's Guide