Help for this page

Select Code to Download


  1. or download this
    my $sth = $dbh->prepare("SELECT ID, FRAMEID FROM SECT WHERE SITEID = ?
    + AND OFFSET = ?")
        or die "Can't prepare SQL statement: $DBI::errstr\n";
    
    $sth->execute("49","2")
        or die "Can't execute SQL statement: $DBI::errstr\n";
    
  2. or download this
    my $sth = $dbh->prepare("SELECT ID, FRAMEID FROM SECT WHERE SITEID = 4
    +9 AND OFFSET = 2")
        or die "Can't prepare SQL statement: $DBI::errstr\n";
    
    $sth->execute()
        or die "Can't execute SQL statement: $DBI::errstr\n";