PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Paul Shiao" <paul_shiao at studio dot disney dot com>
Subject: bcp_meminit does not handle decimal(p,s) datatype correctly
Date: Mar 6 1996 8:20PM

  I have a script (bcp_bug.pl) which bcp data (in table test.dat) into 2 
  tables:  float_table(one int, two float)
           dec_table(one int, two dec(20,4))
  
  If you retrieve the data you will notice the dec_table.two does not have the 
  expected data.  (the results are stored in test.log)  I believe the cause is 
  that bcp_meminit() function does not correctly handle decimal() datatype.  
  Is there a fix for this bug?
    
  Paul Shiao

The following is an attached File item from cc:Mail.  It contains
information that had to be encoded to ensure successful transmission
through various mail systems.  To decode the file use the UUDECODE
program.
--------------------------------- Cut Here ---------------------------------
begin 644 test.log
M:68@;V)J96-T7VED*"=D96-?=&%B;&4G*2!I2`F
M8F-P7V1O;F4@#0IS96QE8W0@*B!F6)A7!E7W1A8FQE("`H
M("1T86)L93(L("1$0DY!344L("1$0E5315(L("1$0E!!4U-71"P@)$13455%
M4ED@*3L-"B9&7T)#4%])3B@@)'1A8FQE,BP@(G1E6)?;&]G:6X@/2!3>6)A&5C('Q\(&1I92`B97AE8R!S<6QC;60Z("`DPT*("`@("`@=VAI;&4@*"!`6)?;&]G:6XM/F1B;F5X=')O=R@Q*2`I('L-"B`@("`@("`@('!R:6YT($!R
M97-U;'0[#0H@("`@("!]#0H@("!]#0H-"B`@("1S<6Q?8VUD("`](")C6)?;&]G:6XM/F1B
M8VUD*"1S<6Q?8VUD*3L-"B`@("1S>6)?;&]G:6XM/F1B6)?;&]G:6XM/F1B8VQO7!E7W1A8FQE('L-
M"B`@(&QO8V%L("@@)'1A8FQE7VYA;64L("1$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