Leser: 2
|< 1 2 >| | 13 Einträge, 2 Seiten |
DBD::Oracle::db selectall_arrayref failed: ORA-00972: identifier is too long (DBD ERROR: OCIStmtExecute/Describe)
my $aref = $dbh->selectall_arrayref($sql,undef,$param) or die "Error: $DBI::errstr";
DBD::Oracle::db selectall_arrayref failed: ORA-00911: invalid character (DBD ERROR: OCIStmtExecute/Describe)
"Select feld1 from tabelle where feld2 like $param"
Select feld1 from tabelle where feld2 like ?
1
2
3
4
my $param = 'ksdf%';
my $stmt = "SELECT feld1 FROM tabelle WHERE feld2 LIKE ?";
my $sth = $dbh->prepare($stmt) or die $dbh->errstr;
$sth->execute($param) or die $dbh->errstr;
|< 1 2 >| | 13 Einträge, 2 Seiten |