[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

mysql command line

chrisdude911

3/12/2006 11:17:00 AM

does anyone know how to delete databases/tables in mysql command line?

6 Answers

vanekl

3/12/2006 11:31:00 AM

0

chrisdude911

3/12/2006 1:02:00 PM

0

so does that actually DELETE it?
Lou Vanek wrote:
> if you're referring to the mysql client program,
>
> drop table table_name;
> drop database db_name;
>
> http://dev.mysql.com/doc/refman/5.0/en/drop-dat...
>
> chriswillis10@gmail.com wrote:
> > does anyone know how to delete databases/tables in mysql command line?
> >
> >
> >

chrisdude911

3/12/2006 1:03:00 PM

0

don't worry about that last one!

chrisdude911

3/12/2006 1:24:00 PM

0

so then,
what does drop table if exists do?

dblack

3/12/2006 1:31:00 PM

0

Tom Reilly

3/12/2006 9:03:00 PM

0

It seems a ligit question to me especially since Ruby interfaces so
easily with mysql.

dblack@wobblini.net wrote:

> Hi --
>
> On Sun, 12 Mar 2006, chriswillis10@gmail.com wrote:
>
>> so then,
>> what does drop table if exists do?
>
>
> It drops the table if the table exists, without raising an error if it
> doesn't.
>
> I'm not sure how this topic ended up on this mailing list, which is
> about Ruby. Can you try to find an SQL or MySQL list to discuss this
> on?
>
>
> David
>