/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Date: 2009-12-08 Resource URL: http://snippets.dzone.com/posts/show/2035 Purpose: Search DB for column name */ SELECT name FROM sysobjects WHERE id IN ( SELECT id FROM syscolumns WHERE name LIKE 'productid%' ) ORDER BY name
URL: http://snippets.dzone.com/posts/show/2035