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

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 bcp_done
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  bcp_done
  6.  
  7.   FUNCTION:
  8.        End a bulk copy from program variables into SQL Server.
  9.  
  10.   SYNTAX:
  11.        DBINT bcp_done(dbproc)
  12.  
  13.        DBPROCESS *dbproc;
  14.  
  15.   COMMENTS:
  16.  
  17.        o bcp_done() ends a  bulk  copy  performed  with  bcp_bind()  and
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   bcp_done                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          bcp_sendrow().  It should be called  after  the  last  call  to
  27.          bcp_sendrow()  or  bcp_moretext().   Failure to call bcp_done()
  28.          after you have completed copying in all your data  will  result
  29.          in unpredictable errors.
  30.  
  31.        o For information on the bcp utility program, see its manual page
  32.          in the Commands Reference.
  33.  
  34.   PARAMETERS:
  35.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  36.            connection for a particular front-end/SQL Server process.  It
  37.            contains all the information that DB-Library uses  to  manage
  38.            communications and data between the front end and SQL Server.
  39.  
  40.   RETURNS:
  41.        The number of rows permanently  saved  since  the  last  call  to
  42.        bcp_batch(), or -1 in case of error.
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                 bcp_done
  47.   ______________________________________________________________________
  48.  
  49.   SEE ALSO:
  50.        bcp_batch, bcp_bind, bcp_moretext, bcp_sendrow
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.