Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > drop table wher...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3376 of 3559
Post > Topic >>

drop table where tableName like 'backup_2007%' ?

by emilu@[EMAIL PROTECTED] (Emi Lu) Mar 31, 2008 at 10:48 AM

Good morning,


Is there a command to drop tables whose name begins a specific string?


For example, all backup tables begins with backup_2007:
Drop table where tableName like 'backup_2007%'?


Thanks a lot!



-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 3 Posts in Topic:
drop table where tableName like 'backup_2007%' ?
emilu@[EMAIL PROTECTED]   2008-03-31 10:48:27 
Re: drop table where tableName like 'backup_2007%' ?
tgl@[EMAIL PROTECTED] (T  2008-03-31 11:55:14 
Re: drop table where tableName like 'backup_2007%' ?
dev@[EMAIL PROTECTED] (R  2008-03-31 17:27:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 16:10:03 CDT 2008.