Re: db_dataobject create table
| From: | Alan Knowles | Date: | Tue, 19 Apr 2005 01:37:34 +0000 |
| Subject: | Re: db_dataobject create table | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18789@lists.php.net to get a copy of this message | ||
create table xxxx select * from yyyy limit 1;
delete from xxx;
should do it...
Regards
Alan
On Mon, 2005-04-18 at 18:07 -0700, Justin Patrin wrote:
> On 4/18/05, Tralla <tralla@ya.com> wrote:
> > Hi Pears,
> >
> > I would to create a new table from the existing schema and class
> > how can i do?
> >
> > is there any function to do this?
> >
>
> Not directly. You can use mysqldump and mysql on the command-line to
> copy a table.
>