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 Admin > Re: pg_tables q...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 5103 of 5549
Post > Topic >>

Re: pg_tables query issue

by lennin.caro@[EMAIL PROTECTED] (Lennin Caro) Jul 1, 2008 at 06:09 AM

Hi List;

I've found that if I run this select (below) I get a table returned  
named 'dma' een though I specified like 'dm_%' :


select tablename from pg_tables where tablename like 'dm_%';


           tablename
------------------------------
  dm_service_provider_dim
  dma


Am I missing something or is this a bug ?


Thanks in advance..


/Kevin





>> the '_' character is a especial character like the '%'.... Try use this

>>select * from table where name ilike('dm\\_%') 




      


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




 4 Posts in Topic:
pg_tables query issue
kevin@[EMAIL PROTECTED]   2008-06-30 17:42:52 
Re: pg_tables query issue
sszabo@[EMAIL PROTECTED]   2008-06-30 16:48:05 
Re: pg_tables query issue
kevin@[EMAIL PROTECTED]   2008-06-30 18:26:24 
Re: pg_tables query issue
lennin.caro@[EMAIL PROTEC  2008-07-01 06:09:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 16:59:56 CST 2008.