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