小白求助,有大哥告诉下自动入会怎么搞么?
delimiter $use taiwan_cain;
DROP trigger IF EXISTS`charac_info`;
CREATE TRIGGER `charac_info` BEFORE UPDATE ON `charac_info` FOR EACH ROW
IF new.guild_id =0 THEN
SET new.guild_id = 1;
END IF
$
delimiter ;
连接数据库按F6,粘贴进去运行就行了。
夜白温馨提示:新角色重登游戏才会生效
——————————————————————————————————————————
只找到这个,不知道在哪里运行,pvf还是哪里,求大哥告知 https://tieba.baidu.com/p/8959382526?share=9105&fr=sharewise&see_lz=0&share_from=post&sfc=copy&client_type=2&client_version=12.78.1.1&st=1739971715&is_video=false&unique=1D3FE2DE5B0AA42AE3BA610B198E3182 数据库软件
页:
[1]