解决方案 »
- mysql群集的SQL节点和数据节点何解?
- mysql经常卡死是什么问题?
- 数据库中VARCHAR2类型的数据怎么按照实际数值比较大小呢?
- mysql query if empty?
- 小弟不才,求一条mysql的查询语句
- ASP调用MYSQL带返回参数的存储过程
- 数据库菜鸟查询问题
- 哪位仁兄,帮忙介绍一下mysql中,host表和columns_priv表的作用?
- load data local infile 语句导入数据,换行字符无法识别问题
- 使用update 报错Truncated incorrect DOUBLE value: ''
- 请问个数据查询的问题
- pgpoolⅡ提供给前端的Ip port database user password JDBC怎么连接
on product for each row
insert into operate values(null, 'insert product',now());改為試試
Create trigger X on product
after insert
as
insert into operate select null,'insert product',getdate() from inserted
'截至2011-10-21 17:35:50 用户结帖率0.00%当您的问题得到解答后请及时结贴.
http://topic.csdn.net/u/20090501/15/7548d251-aec2-4975-a9bf-ca09a5551ba5.html
http://topic.csdn.net/u/20100428/09/BC9E0908-F250-42A6-8765-B50A82FE186A.html
http://topic.csdn.net/u/20100626/09/f35a4763-4b59-49c3-8061-d48fdbc29561.html8、如何给分和结贴?
http://community.csdn.net/Help/HelpCenter.htm#结帖
ERROR 1048:Column 'op_id' cannot be null.op_id設置了不為nullcreate table operate (
op_id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
,Col2.....
)
AUTO_INCREMENT = 100;--自增初始值。gocreate trigger X before insert
on product for each row
insert into operate(Col2,Col3) --指定列
values( 'insert product',now());