1
2
3
4
5
6
7
8
9
10
11
$sql = qq{select top 1 * from archiv };
$sth = $dbh->prepare( $sql );
$sth->execute();
$sth->{'LongTruncOk'} = 1;
while (@row = $sth->fetchrow_array())
{
print "| Inhalt = ".$row[1]."\n";
}
$sth->finish();
1
2
3
4
5
6
>>stream
xÚåWëoÚ0ÿWî[A+ñÙy8™P%c«:*TP;©ê/± $ÈvÔö¿ß…Ò}h˜F5¬X—óï>'?.|¾€€æBð£"8‚Æb‘Ÿ@BJ¤IÈ¡ÝfGúú²4™m ?E‰ˆÜGßç‘ aŸcDÉþZÕdÃ2ë+§ýõ2\bÌã@±‡¸×d=£•ËËâuÔ$wsÝ8Ñ鬨Š)ôM•þ\Û–¦Ññt^X^ì…—I“«ï?têžXŒL™U©6Q ß–ª°"{¼É:•›‘·ÞçæÁA»]_l¨³\uË«shqI—€PÆ‹ä‚h[V&Õ–`ä6kwÎÈ-;\¨©î]°AY8ZøTW„6¨´$ÐM®—šH“Ñ…£¨1=²¡;i%wPËŽòÌžÓ‘ÑÍdQ‘µX!?i™åÅ”åE‡¶vwOåpµ—‰©ôÊÝ 7ÖõfÊ€/nÔÙ²®²z%W“ks¬/Gãá„üenF‘#D…ÑCWcCñ2ôù•ñÁx ?Ê};ûÿwåÀݯÂÿ9î‹qÃo}mS“/‰„é¢&°¯jÍ+"ü›œÔê–óìybÂçùh÷_f|oÙ6B¿ö˜m{C¸%*xûÁî4üqr/Vè ?pÜ áoÅâ·-–xK‹åßµX‡NÍó´SLç
æjj‘Ðý6ØØéÅi
"õ±ZèÍV©cÓ:VLæ5dìŒv錗f¡æ+ՙΧ3"«ýÖè–7»ëBH& A…H}žZ~YŠæ|K¥¿¸|-ñ„—õGÒ7ƒ|3ñ_žŸáH
endstream
endobj
$DEBUG and print STDERR "------------- DEBUG ---------------\n", Dumper \$row[1], "------------- DEBUG ---------------\n";
1
2
3
4
5
6
syb_no_bind_blob (bool)
If set then any IMAGE or TEXT columns in a query are NOT returned when calling $sth->fetch (or any variation).
Instead, you would use
$sth->syb_ct_get_data($column, \$data, $size);
Quotebeipflichten :(ich erinnere mich, das war etwas komplizierter in sybase:
2014-05-23T11:46:07 wundiiDBD::Sybase mit syb_ct_get_data kenne ich noch nicht