it returns the blob value stored in "IssueText" in completeness but when i ran the PERL script to get it, the dump out showed the value with a length of 255 characters! This is utterly strange as I have read around online and have tried using differt ways of querying (ie such as syb_ct_get_data) and can't get anywhere..." SELECT IssueNo , SUBSTRING(IssueDescrip +tion,0,DATALENGTH(IssueDescription)+1) AS IssueText FROM Issues WHERE AccountNo = '1036' ORDER BY IssueNO ASC "
Very sorry to trouble you guys but I really need your help.$stmt = $source_dbh->prepare($self +->get_T3_issue_ids_sql($T3_account_id)); $status = $stmt->execute(); if ($status) { $res = $stmt->fetchall_hashref('IssueT +ext'); } debug(20,qq|Sql to get_issues for account,$T3_ +account_id : \"|.$self->get_T3_issue_ids_sql($T3_account_id).qq|\"\n| +); #debug more... foreach my $elem(%{$res}) { if (defined($res->{$elem}->{'IssueText +'})) { debug (20,qq|$res->{$elem}->{' +IssueNo'}:Current IssueText-\"|.$res->{$elem}->{'IssueText'}.qq|\"\n| +); } }
20060707 Janitored by Corion: Changed PRE tags into code tags, as per Writeup Formatting Tips
In reply to DBI::Sybase -retrieving BLOB values from ms-sql question by anexiole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |