How to find specific table from DB in postgresql? -


in db have 642 tables. have search specific table name contain empsal in it's name. above many tables there contain keyword in start of name or end of name or in between.

so want list tables have empsal in it's name @ place.

an newer postgresql don't know how so.

is there method can me ?

any suggestion this?

this query:

select table_name information_schema.tables table_schema='public' , table_type='base table';

should give list of tables in database. can add @ end:

and table_name '%empsal%';

don't forget remove previous semicolon, or you're going have syntax error :)


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -