Hello.


Use -e command line option for mysql client program. For example:

  mysql -u root -p test -e 'drop view v'





sam <[EMAIL PROTECTED]> wrote:

> Hi,

> 

> What is the easiest way to drop a table created by "create view"?

> I m using mysql 5.0. I would like to execute the drop from Unix commandline.

> 

> Thanks

> Sam

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to