|Problems? Is your data what you think it is?|
Re: DBI "drop table"by DBAugie (Beadle)
|on Apr 13, 2008 at 13:09 UTC||Need Help??|
Preface: My expertise is limited to Oracle. This is not necessarily applicable to other RDBMS.
placeholders work in statements like SELECT, DELETE, or UPDATE. These types of statements are known as data modification language (DML). DML changes data inside an object.
drop table is part of the data definition language. DDL actually changes the objects themselves.
Traditionally, database engines do not tolerate variables in DDL. Oracle has an "execute immediate" statement to add this functionality.
Perhaps mySql has a similar statement?