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
.
全站熱搜