魔兽世界7坐骑排行榜:sql触发器段落

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/04 18:51:48
表1 uid bigint
pid bigint
othername varchar(50)
othertext varchar(3000)
表2 uid bigint
pid bigint
othertext text
当表1中othername和othertext添加以后,表2中othertext中写入othername+othertext,之间用段落分开!然后表1中再有新数据添加到othername和othertext时,表2中再添加othertext+othertext,之间段落分开,和前面的数据之间也用段落分开!
请问怎么在触发器或者存储过程中实现??