Find tables in database with specified text in name


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.