2015-12-02 65 views

回答

0

試試這個:

SELECT t.name as TabName 
    ,c.name as ColName 
FROM sys.columns c 
INNER JOIN sys.tables t on c.object_id = t.object_id 
WHERE c.name like '%COLUMN_NAME%' 
    AND t.name = 'TABLE_NAME' 
相關問題