Welcome Guest, Not a member yet? Register   Sign In
MySQL copy table
#2

[eluser]Jamie Rumbelow[/eluser]
Hey garrett.reid,

Because COPY TABLE is a proprietary command, you will have to run custom SQL, but usually, stuff like this falls under the Database Forge library, which is really neat, so go and check it out. To run raw SQL, just use the $this->db->query() command, which has exactly the same response as $this->db->get() (which uses query underneath.)

Jamie


Messages In This Thread
MySQL copy table - by El Forum - 02-26-2010, 12:52 AM
MySQL copy table - by El Forum - 02-26-2010, 02:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB