home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / sybase / 496 < prev    next >
Encoding:
Text File  |  1992-12-15  |  2.0 KB  |  44 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!ncar!csn!news.den.mmc.com!traffic!kevin
  3. From: kevin@traffic.den.mmc.com (Kevin Rodgers)
  4. Subject: Re: Exact form of data flow to Sybase engine
  5. Message-ID: <1992Dec15.220803.16033@den.mmc.com>
  6. Sender: news@den.mmc.com (News)
  7. Nntp-Posting-Host: traffic.den.mmc.com
  8. Organization: Martin Marietta Western Internal Systems, Technical Operations
  9. References: <1992Dec4.180900.2485@dtint.uucp> <MGK.92Dec10184557@cedar.sql.sybase.com>
  10. Date: Tue, 15 Dec 1992 22:08:03 GMT
  11. Lines: 31
  12.  
  13. In article <MGK.92Dec10184557@cedar.sql.sybase.com> mgk@sql.sybase.com (Michael Keirnan aka Joe Cool) writes:
  14. >(nevin@dtint.dtint.com) typed:
  15. >>A colleague here at work suggested that the DB-LIB call
  16. >>'dbwritetext()' does not (internally) convert the binary data to an
  17. >>hex-encoded text stream, but sends it raw (as a binary stream) to the
  18. >>server.
  19. >>
  20. >>Is this true?
  21. >Yes, text and image data are sent "as is". (with no warranty, explicit
  22. >or implied--oh sorry, wrong spiel).
  23. >
  24. >At the risk of sounding like a commerical (and w/o intending to!!):
  25. >The RPC and TEXT/IMAGE mechanisms were designed with performance in
  26. >Client/Server systems in mind. In general, they don't do unnecessary
  27. >work at the Client or Server side.
  28.  
  29. At the risk of sounding like a jaded user, the TEXT/IMAGE mechanism
  30. still isn't supported by Sybase's Open Server (Server-Library).  In
  31. fact, the 'Types' page from it's reference manual makes the outlandish
  32. suggestion that one should alter the database design to accomodate this
  33. missing functionality:
  34.  
  35. |If a data object is larger than 255 bytes, split it into multiple rows
  36. |or columns.  For example, if [sic] to return 500 bytes of data, use
  37. |srv_describe to define two 250-byte columns.  The client application
  38. |program can then concatenate the two columns when it receives the row.
  39. -- 
  40. Kevin Rodgers                kevin@traffic.den.mmc.com
  41. Martin Marietta MS A16401        (303) 790-3971
  42. 116 Inverness Dr. East
  43. Englewood CO 80112 USA            GO BUFFS!
  44.