home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / usr / sybase / doc / bcp_colptr.man < prev    next >
Encoding:
Text File  |  1993-04-22  |  2.1 KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89               bcp_colptr
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  bcp_colptr
  6.  
  7.   FUNCTION:
  8.        Set the program variable data address for the current copy IN.
  9.  
  10.   SYNTAX:
  11.        RETCODE bcp_colptr(dbproc, colptr, table_column)
  12.  
  13.        DBPROCESS *dbproc;
  14.        BYTE      *colptr;
  15.        int       table_column;
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   bcp_colptr              Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.   COMMENTS:
  28.  
  29.        o The bcp_colptr() function allows  you  to  change  the  program
  30.          variable  data  address for a particular column while running a
  31.          copy IN via calls to bcp_bind().
  32.        o Initially, the program variable data address is determined when
  33.          bcp_bind()  is  called.  If  the  program variable data address
  34.          changes  between  calls  to   bcp_sendrow(),   you   may   call
  35.          bcp_colptr()  to  reset the address of the data.  The next call
  36.          to bcp_sendrow() will use the data at the address you just set.
  37.  
  38.        o There must be a separate bcp_colptr() call for every column  in
  39.          the table whose data address you want to modify.
  40.        o For information on the bcp utility program, see its manual page
  41.          in the Commands Reference.
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89               bcp_colptr
  47.   ______________________________________________________________________
  48.  
  49.   PARAMETERS:
  50.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  51.            connection for a particular front-end/SQL Server process.  It
  52.            contains all the information that DB-Library uses  to  manage
  53.            communications and data between the front end and SQL Server.
  54.        colptr -  The address of the program variable.
  55.        table_column -  The column in the SQL Server table to  which  the
  56.            data will be copied. Column numbers start at 1.
  57.  
  58.   RETURNS:
  59.        SUCCEED or FAIL.
  60.  
  61.   SEE ALSO:
  62.        bcp_bind, bcp_collen, bcp_sendrow
  63.  
  64.  
  65.  
  66.  
  67.