Posted By

lance on 08/05/10


Tagged


Versions (?)

Find tables in database with specified text in name


 / Published in: SQL
 

  1. --search for tables in a database named like
  2. SELECT name AS TableName
  3. FROM sysobjects
  4. WHERE sysobjects.type = 'U'
  5. AND Name LIKE '%ci%'

Report this snippet  

You need to login to post a comment.