insert into class (id,name,path,click,addDate,parent,lastChildClass) values ('~F','fh','e:\fh',1,curdate(),'~','0')
以上语句在MYSQL中执行通过,没有问题,但是在.NET中调用这个语句时抛出异常“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 '~','0')" at line 1”
这是怎么回事?
以上语句在MYSQL中执行通过,没有问题,但是在.NET中调用这个语句时抛出异常“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 '~','0')" at line 1”
这是怎么回事?
解决方案 »
- 内容已被编辑!
- linux上mysql数据库,比较急得问题。各位老大,多多帮帮忙,看看什么原因
- [REPLACE INTO]关于replace into语句.
- mysql auto_increment 的问题
- 请问支持mysql6.0的图形界面工具有哪些?谢谢!
- mysql速度变慢的问题...
- 只能使用root,密码是空的帐户吗?
- Linux 下 MySQL 对目录没有访问权限,怎么改???
- mysql 查询
- 谁用过“深圳科鼎科技有限公司”的Apache+Mysql+Php4 for win32的安装程序
- mysql如何将数据倒入excel,或者将excel的数据倒入mysql
- MySQL安装不了,大家帮忙看看是什么问题
不转义?
这样
打出来看看是什么。