mysql>createtablet_test(->idintprimarykey,->filepathvarchar(256));mysql>insertintot_testvalues(->1,'d:\\abc');mysql>select*fromt_test;+----+----------+|id|filepath|+----+----------+|1|d:\abc|+----+----------+把如”d:\abc"中的路径中的\换成两个\是可以的但在java中写的时候要注意这样写:"insertintot_testvalues(1,'d:\\\\abc')"
Copyright © 广州京杭网络科技有限公司 2005-2025 版权所有 粤ICP备16019765号
广州京杭网络科技有限公司 版权所有