Search Database for Column Name

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

Copy this code and paste it in your HTML
  1. /*
  2. Date: 2009-12-08
  3. Resource URL:
  4. Purpose: Search DB for column name
  5. */
  7. SELECT name FROM sysobjects WHERE id IN ( SELECT id FROM syscolumns WHERE name LIKE 'productid%' ) ORDER BY name


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.