http://stackoverflow.com/questions/2729126/how-to-find-column-names-for-all-tables-in-all-databases-in-sql-server --ASAGIDAKI SCRIPT SQL 2000 icin gecerlidir. select '['+c.name+']'+' ASC,' from GMSAKK..syscolumns c inner join sysobjects o on c.id=o.id INNER JOIN sysusers sh on o.uid=sh.uid where o.name like '%TermConfig%'