RE: Marc blob - mysql

2007-09-21 Thread Jacobien Stols
Leif and Bill I added the quote statement. It is working now. Thanx Jacobien -Original Message- From: Leif Andersson [mailto:[EMAIL PROTECTED] Sent: 20 September 2007 03:44 PM To: Jacobien Stols Cc: perl4lib@perl.org Subject: Re: Marc blob - mysql Jacobien, Try this: my $blob

Re: Marc blob - mysql

2007-09-20 Thread Leif Andersson
Jacobien, Try this: my $blob = $record->as_usmarc(); $blob= $dbh->quote($blob); And load $blob as you did before. Leif == Leif Andersson, Systems Librarian Stockholm University Library SE-106 91 Stockholm SWEDEN

RE: Marc blob - mysql

2007-09-20 Thread Jacobien Stols
27;,a=>$desc); $field->replace_with($new_field); } But this solution is not so clean, because, I don't know beforehand in which marc tags I will find the single quote ('). Jacobien -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed

Re: Marc blob - mysql

2007-09-20 Thread Ed Summers
What's the exact error message? //Ed