Hello,

I tried your samples, thank you. But my installation wouldn't work
with place holders.

$sql = "insert into $tableName (KUNDENNUMMER) values (?)";

$sth = $dbh->prepare($sql); # works

$sth->execute(@field[0]) || die("Can't execute statement: $sth::errstr"); #
does not work

In the documentation on www.perldoc.com are the same samples like you gave
me bevore.
It seems that I have the wrong version or a wrong installation.

I use the following environment:

Windows 2000 (sorry :-( ), MS SQL over ODBC on a different server,
the Active State version of perl and downloaded this file:
DBI-1.20.tar.gz

Can anybody tell me, that similar installations work correctly?
Also, I don't see any message from the 'die(...: $sth::errstr' part.

Please send a cc for this thread to [EMAIL PROTECTED] Then I am able
to find solutions on weekend.

Thanks

Lothar Behrens



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to