does anyone know how to delete databases/tables in mysql command line?
on 2006-03-12 13:21
on 2006-03-12 13:33
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-database.html
on 2006-03-12 15:04
so does that actually DELETE it?
on 2006-03-12 15:05
don't worry about that last one!
on 2006-03-12 15:29
so then, what does drop table if exists do?
on 2006-03-12 15:32
Hi -- On Sun, 12 Mar 2006, firstname.lastname@example.org 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 -- David A. Black (email@example.com) Ruby Power and Light, LLC (http://www.rubypowerandlight.com) "Ruby for Rails" chapters now available from Manning Early Access Program! http://www.manning.com/books/black
on 2006-03-12 23:03
It seems a ligit question to me especially since Ruby interfaces so easily with mysql.