close

原文出處:http://delphi.ktop.com.tw/board.php?cid=30&fid=66&tid=63405

use Northwind
select
so.name as tri_name,
so2.name as table_name,
sc.text as tri_content
from sysobjects so
inner join syscomments sc
on
so.id=sc.id and so.xtype='TR'
inner join sysobjects so2
on
so.parent_obj = so2.id

.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Cliff 的頭像
    Cliff

    Cliff的部落格

    Cliff 發表在 痞客邦 留言(0) 人氣()