Thread Verwendung von Datenbanklinks in SELECT-Abfrage (29 answers)
Opened by Hanna at 2009-09-23 15:00

bianca
 2009-09-23 15:58
#126116 #126116
User since
2009-09-13
6991 Artikel
BenutzerIn

user image
Guest Hanna
foreach(@partnumbers) {
$partnr = $_;
chomp($partnr);
print Dumper $partnr;
$sth = $dbh->prepare('SELECT PRODUCT_ID FROM schema.products@dblink_to_testdb WHERE (id= ?)');
# $sth->bind_param(1,$partnr);
$sth->execute();


Da stimmt was nicht!
$sth->bind_param(1,$partnr); ist auskommentiert. Im Moment fragt er nur WHERE (id= ?) ab!

EDIT: Quote gekürzt
Last edited: 2009-09-23 16:00:38 +0200 (CEST)
10 print "Hallo"
20 goto 10

View full thread Verwendung von Datenbanklinks in SELECT-Abfrage