Advertisement
Guest User

Untitled

a guest
Feb 12th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. sub select_all_biblios {
  2. my $strsth = qq{ SELECT biblionumber FROM biblioitems };
  3. $strsth.=qq{ WHERE $where } if ($where);
  4. $strsth.=qq{ LIMIT $length } if ($length && !$offset);
  5. $strsth.=qq{ LIMIT $offset,$length } if ($offset);
  6. my $sth = $dbh->prepare($strsth);
  7. $sth->execute();
  8. return $sth;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement