查询某一列在哪些表中


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58
select name 
from sysobjects a
where exists(
        select 1 from syscolumns b
        where name = 'customerid'
        and b.id =a.id
    )