为什么我这样写编译不过去:
DROP TRIGGER IF EXISTS trig_T_ChatUserInfo_ad
DROP TRIGGER trig_T_ChatUserInfo_ad IF EXISTS trig_T_ChatUserInfo_ad
DROP TRIGGER IF EXISTS trig_T_ChatUserInfo_ad
DROP TRIGGER trig_T_ChatUserInfo_ad IF EXISTS trig_T_ChatUserInfo_ad
解决方案 »
- 主服务器执行失败的语句会不会也写到bin-log中,并随后由从服务器执行?
- Mysql超复杂查询,考验你的能力,大虾们帮帮忙啦··
- select username=str from cdb_members where uid=1;的问题
- 困惑,关于mysql 对字符集支持问题:到底为什么用这么多看似无用的字符集变量?
- mysql如何选择特定得数据创建新得表格
- 高分请教——怎么用fash连接数据库啊?(急!)
- 绝对高手进>++++>不利用其他工具 也不能在cmd下输入命令 在应用程序里 如何实现数据库的备份与恢复
- 求mysql 客户端开发工具
- 数据库还原
- 为什么我的mysql msi安装到最后两步的时候就停止了 我之前安装了了一个解压版的mysql没有卸载但是停掉服务了
- 一个简单的问题.100分.快来.答了马上给分.
- mysql数据库中全表扫描的问题??(急,急,急,急,急!!)
IF EXISTS(SELECT NAME FROM SYSOBJECTS WHERE NAME = "trig_T_ChatUserInfo_ad" AND TYPE = "TR")
DROP TRIGGER trig_T_ChatUserInfo_ad
IF EXISTS(SELECT NAME FROM SYSOBJECTS WHERE NAME = "trig_T_ChatUserInfo_ad" AND TYPE = "TR") DROP TRIGGER trig_T_ChatUserInfo_adYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS(SELECT NAME FROM SYSOBJECTS WHERE NAME = "trig_T_ChatUserInfo_ad" AND ' at line 1
DROP TRIGGER IF EXISTS `trig_T_ChatUserInfo_ad`
DROP TRIGGER IF EXISTS `trig_T_ChatUserInfo_ad`试过了,仍旧不行。你们有没有在自己的mysql服务器上试过呢。还是我的服务器的问题?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS `trig_T_ChatUserInfo_ad`' at line 1