in reply to Re: fetchrow_array DBI
in thread fetchrow_array DBI
do() isn't at all dangerous, but it is reserved for SQL statements that don't return data.
is O.K., but$dbh->do("DELETE FROM foo WHERE bar = 47");
isn't. This is spelled out in the on-line DBI documentation.$dbh->do("SELECT bar FROM foo");
|
|---|