Modules | |
Internal bcp functions | |
Static functions internal to the bcp library. | |
Functions | |
DBINT | bcp_batch (DBPROCESS *dbproc) |
Commit a set of rows to the table. | |
RETCODE | bcp_bind (DBPROCESS *dbproc, BYTE *varaddr, int prefixlen, DBINT varlen, BYTE *terminator, int termlen, int vartype, int table_column) |
Bind a program host variable to a database column. | |
RETCODE | bcp_colfmt (DBPROCESS *dbproc, int host_colnum, int host_type, int host_prefixlen, DBINT host_collen, const BYTE *host_term, int host_termlen, int table_colnum) |
Specify the format of a datafile prior to writing to a table. | |
RETCODE | bcp_colfmt_ps (DBPROCESS *dbproc, int host_colnum, int host_type, int host_prefixlen, DBINT host_collen, BYTE *host_term, int host_termlen, int table_colnum, DBTYPEINFO *typeinfo) |
Specify the format of a host file for bulk copy purposes, with precision and scale support for numeric and decimal columns. | |
RETCODE | bcp_collen (DBPROCESS *dbproc, DBINT varlen, int table_column) |
Set the length of a host variable to be written to a table. | |
RETCODE | bcp_colptr (DBPROCESS *dbproc, BYTE *colptr, int table_column) |
Override bcp_bind() by pointing to a different host variable. | |
RETCODE | bcp_columns (DBPROCESS *dbproc, int host_colcount) |
Indicate how many columns are to be found in the datafile. | |
RETCODE | bcp_control (DBPROCESS *dbproc, int field, DBINT value) |
Set BCP options for uploading a datafile. | |
DBINT | bcp_done (DBPROCESS *dbproc) |
Conclude the transfer of data from program variables. | |
RETCODE | bcp_exec (DBPROCESS *dbproc, DBINT *rows_copied) |
Write a datafile to a table. | |
DBBOOL | bcp_getl (LOGINREC *login) |
See if BCP_SETL() was used to set the LOGINREC for BCP work. | |
RETCODE | bcp_init (DBPROCESS *dbproc, const char *tblname, const char *hfile, const char *errfile, int direction) |
Prepare for bulk copy operation on a table. | |
RETCODE | bcp_moretext (DBPROCESS *dbproc, DBINT size, BYTE *text) |
Write some text or image data to the server. Not implemented, sadly. | |
RETCODE | bcp_options (DBPROCESS *dbproc, int option, BYTE *value, int valuelen) |
Set "hints" for uploading a file. A FreeTDS-only function. | |
RETCODE | bcp_readfmt (DBPROCESS *dbproc, char *filename) |
Read a format definition file. | |
RETCODE | bcp_sendrow (DBPROCESS *dbproc) |
Write data in host variables to the table. | |
RETCODE | bcp_writefmt (DBPROCESS *dbproc, char *filename) |
Write a format definition file. Not Implemented. |
|
Commit a set of rows to the table.
|
|
Bind a program host variable to a database column.
|
|
Specify the format of a datafile prior to writing to a table.
|
|
Specify the format of a host file for bulk copy purposes, with precision and scale support for numeric and decimal columns.
|
|
Set the length of a host variable to be written to a table.
|
|
Override bcp_bind() by pointing to a different host variable.
|
|
Indicate how many columns are to be found in the datafile.
|
|
Set BCP options for uploading a datafile.
|
|
Conclude the transfer of data from program variables.
|
|
Write a datafile to a table.
|
|
See if BCP_SETL() was used to set the LOGINREC for BCP work.
|
|
Prepare for bulk copy operation on a table.
|
|
Write some text or image data to the server. Not implemented, sadly.
|
|
Set "hints" for uploading a file. A FreeTDS-only function.
|
|
Read a format definition file.
|
|
Write data in host variables to the table.
|
|
Write a format definition file. Not Implemented.
|