in reply to Re^2: DBI "drop table"
in thread DBI "drop table"
I think most databases have that restriction. I think they need the table names to properly prepare.i recently stumbled across this while trying to make an application compatible with SQLite. in SQLite the table even has to exist - otherwise a prepare for a drop-statement will fail. so if you prepare all your statements at the start of your script, and you have create- and drop-statements also (e.g. for temporary tables) this won't work in SQLite. but i'd think this could be a bug because i don't know why a prepare for a drop should need the existing table.
|
|---|