dbstream(1)

NAME

dbstream - streams data to or from a database.

SYNOPSIS

dbstream  [-hfsio]

DESCRIPTION
streams data to or from a database.

-h  --help
    print this message and exit

- delim   --delimiter=delim
    field separator string (default: 0xfe)

-f sql_file   --file=sql_file
    run sql specified in this file

-s sql   --sql=sql
    run sql specified here

-i input_file   --input=input_file
    file containing placeholder values for insert/update statements

-o output_file   --output=output_file
    write to specified file instead of stdout

- dsn   --dsn=dsn
    DBI-style data source name

- uid   --uid=uid
    database username

- pwd   --pwd=pwd
    database password

if --dsn, --uid, or --pwd aren't specified, environment variables DB_DSN, DB_UID, and DB_PWD will be used for the unprovided values.

AUTHOR

Written by the maintainers and contributers of CRUSH tools.  See
    http://code.google.com/p/crush-tools

REPORTING BUGS

Report bugs to <crush-tools@googlegroups.com>, or visit
    http://groups.google.com/group/crush-tools

COPYRIGHT
   Copyright 2008 Google Inc.
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
       http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.