in reply to How to select/insert/update on Oracle clob column
try:$query = qq| INSERT INTO foo VALUES ( '$bar', '$baz' )|; $sth = $dbh->prepare($query); $sth->execute();
$bar and $baz can now contain arbitrary data to be inserted into table foo. I find it cleaner to use placeholders in general, but I believe they are required for Oracle "long" data types.$query = qq| INSERT INTO foo VALUES ( ?, ? ) |; $sth = $dbh->prepare($query); $sth->execute($bar,$baz);
|
|---|