Index  Up  <<  >>  


Updating Individual Records

If you have a very large DBM database that takes a long time to build, you may want to use the bin/update script to change just one field in a record, or to add from a corrections list.

The following updates the products database price field for item 19-202 with the new value 25.00

    update -c catalog -f price 25.00

More than one field can be updated on a single command line

    update -c catalog -f price -f comment 25.00 "That pitchfork couple"

The following takes input from file, which must be formatted exactly like the original database and adds/corrects any records contained therein.

    update -c catalog -i file

Invoke the command without any arguments for a usage message describing the options.


Index  Up  <<  >>