Welcome Guest, Not a member yet? Register   Sign In
$this->dbforge->drop_table() problem.
#1

[eluser]J. Pavel Espinal[/eluser]
Hello,

I'm facing a problem when I try to drop a table called '15-test003'. The query generated by
$this->dbforge->drop_table() function is this:

DROP TABLE IF EXISTS 15-test003

...which returns an error also using phpMyAdmin. The following queries produce errors too:

DROP TABLE IF EXISTS '15-test003'
DROP TABLE IF EXISTS "15-test003"

The following query successfully drops the table:

DROP TABLE IF EXISTS `15-test003`

Have anyone faced similar problems while work with unusual names for tables?
Is this a bug? .. or (as I suspect) I should not use names like that for Tables?


Thanks,




--
Jose P. Espinal


Messages In This Thread
$this->dbforge->drop_table() problem. - by El Forum - 06-30-2008, 02:17 PM
$this->dbforge->drop_table() problem. - by El Forum - 06-30-2008, 02:31 PM
$this->dbforge->drop_table() problem. - by El Forum - 06-30-2008, 02:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB