首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

触发器有关问题

2012-06-09 
触发器问题!T1 结构HID int not nullLID int not nullResult bit not null//HID LID 主键T2 结构HID int n

触发器问题!
T1 结构
HID int not null

LID int not null

Result bit not null

//HID LID 主键

T2 结构

HID int not null

LID int not null

HID int not null

Alls int not null

C030 int not null

C50100 int not null

C230530 int not null

//HID LID 主键

要求:
当T1 插入一条记录,则在T2中添加一条记录,并统计T1表中Result为True中的个数 和 前30个为True的个数......




[解决办法]
建议给出具体测试数据

热点排行