Re: Create table if not exists from mysqldump?

2002-10-04 Thread Clayburn W. Juniel, III
On Thursday, Oct 3, 2002, at 20:41 America/Phoenix, John Kelly wrote: > Hi, I am trying to use mysqldump to dump the structure of a single > database > and want the output to make create table commands that include the IF > NOT > EXISTS switch so that when the file is imported into an existing

re: Create table if not exists from mysqldump?

2002-10-04 Thread Victoria Reznichenko
John, Friday, October 04, 2002, 6:41:46 AM, you wrote: JK> Hi, I am trying to use mysqldump to dump the structure of a single database JK> and want the output to make create table commands that include the IF NOT JK> EXISTS switch so that when the file is imported into an existing database it JK>

Re: Create table if not exists from mysqldump?

2002-10-04 Thread Gerald R. Jensen
Kelly" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 5:19 AM Subject: Re: Create table if not exists from mysqldump? Hi, Do u mean when u take a dump you need to add before each table "drop table if exists" then here is the command. mysqldump -u -p

Re: Create table if not exists from mysqldump?

2002-10-04 Thread swati sandhya
Hi, Do u mean when u take a dump you need to add before each table "drop table if exists" then here is the command. mysqldump -u -p -h --add-drop-table > test.sql regards, Praveen --- John Kelly <[EMAIL PROTECTED]> wrote: > Hi, I am trying to use mysqldump to dump the > structure of a single