in reply to SQL quoting problem
The number can range from 0 to 5, with 0 being no information to 5 being too much (I find levels two and three to be useful). This command opens $somefile in append mode and writes out tons of trace information, including the full text of the SQL, which should let you see the exact error. I use this all the time when I have complex issues.DBI->trace(2, $somefile);
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
|
|---|