1. Manuals
  2. Brands
  3. Computer Equipment
  4. Server
  5. IBM
  6. Computer Equipment
  7. Server

IBM 000-8697 Character-Position FILE Statement

1 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 702
Download on canonical page 702 pages, 4.15 Mb
7-26 IBM Informix OnLine Database Server Administrator’s Guide
How to Create a Command File
In this example, theVALUES clause uses the automatically assigned field
names assigned bydbload. You must reference the automatically assigned
fieldnames with the letter ffollowed by a two-digit number: f01,f02,f10, and
so on. All other formats are incorrect.
The user has changed the column names, the order of the data, and the
meaningof col6 in the new stock table. Since the fourth column in new_stock
(col4)is not named in the column list, the new data row contains a null in the
col4 position (assuming that the column permits nulls).
The first data row inserted intonew_stock from this INSERT statement is as
follows:
Character-Position FILE Statement
Five sample data rows are introduced here and used throughout the
character-position discussion to illustrate theFILE statement syntax and
function.
The examples in this section are based on an input data file,cust_loc_data,
that contains the last four fields (city,state,zipcode, andphone) of the
customer table.
Column Value
col1 1
col2 baseball gloves
col3 SMT
col4 null
col5 case
col6 autographed
MENU

Models

Contents