Re: WANTED: Utility to reverse engineer existing database II

2001-08-08 Thread Stefan Hinz
# Tel: +49-30-46307-382 Fax: +49-30-46307-388 - Original Message - From: "Jay Fesco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 9:24 PM Subject: RE: WANTED: Utility to reverse engineer existing database II > ...Some of my tables

RE: WANTED: Utility to reverse engineer existing database II

2001-08-07 Thread Don Read
On 07-Aug-2001 Kevin wrote: > > Thanks for pointing out mysqldump. > > I now need to be able to copy a limited number of data records. I see that > mysqldump allows data copy by providing the cooresponding INSERT statements. > However, I don't always want all of the records. Some of my tables

Re: WANTED: Utility to reverse engineer existing database II

2001-08-07 Thread Stefan Hinz
Dear Kevin, > an option on mysqldump that would limit the number of records. Any ideas > without writing a program? AFAIK you cannot do this with mysqldump. But you can use the SELECT ... INTO OUTFILE syntax, in some way like this: SELECT * FROM my_table INTO OUTFILE "some_records" WHERE i

RE: WANTED: Utility to reverse engineer existing database II

2001-08-07 Thread Jay Fesco
...Some of my tables have thousands of records and I may only want the first 200 or so. I did not see an option on mysqldump that would limit the number of records. Any ideas without writing a program? Kevin > Try the WhereClause option in mysqldump. Syntax is: -w 'where_clause

Re: WANTED: Utility to reverse engineer existing database II

2001-08-07 Thread Michael Meltzer
emacs MJM - Original Message - From: "Kevin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 11:30 AM Subject: WANTED: Utility to reverse engineer existing database II > > Thanks for pointing out mysqldump. > > I now need to be able to copy a limited number o

Re: WANTED: Utility to reverse engineer existing database II

2001-08-07 Thread j.urban
Did you see the -w, --where option? It might be what you're looking for... "Dump only selected records." --http://www.mysql.com/doc/m/y/mysqldump.html If you have a more complicated query and you are using Windows, you can use urSQL + MyODBC to accomplish this as urSQL (http://www.urbanres

RE: WANTED: Utility to reverse engineer existing database II

2001-08-07 Thread Carsten H. Pedersen
> Thanks for pointing out mysqldump. > > I now need to be able to copy a limited number of data records. > I see that > mysqldump allows data copy by providing the cooresponding INSERT > statements. mysqldump -w / Carsten -- Carsten H. Pedersen keeper and maintainer of the bitbybit.dk MySQL