解决方案 »
- mysql多表删除 快点 再快点....
- MySql和Postgresql的价格,费用
- Mysql语句,请问错在哪里?
- 紧急问 Can't connect to MySQL server on '192.168.110.18' (10061)
- MySQL 存储过程的问题,急~~~~
- 大家帮我看看mysql的问题
- MYSQL中字段的空值怎么表示啊?
- mysql5.6.x更新包求助
- mysql-5.6.26版本 找不到 my.ini配置文件的所在 求指教
- MySQL 4200 the used command is not allowed with this MySQL version
- mysql Administrator登录失败的问题
- mysql 采用 gbk,程序中该怎么写?
mysql> insert into t values(1, 'c:\abc');
Query OK, 1 row affected (0.01 sec)mysql> select * from t;
+----+-------+
| id | col2 |
+----+-------+
| 1 | c:abc |
+----+-------+
1 row in set (0.00 sec)mysql> insert into t values(2, 'c:\\abc');
Query OK, 1 row affected (0.03 sec)mysql> select * from t;
+----+--------+
| id | col2 |
+----+--------+
| 1 | c:abc |
| 2 | c:\abc |
+----+--------+
2 rows in set (0.00 sec)mysql>
void CSystemParameter::doSql(CString &strTemp)
{
if(strTemp.IsEmpty())
return;
else{
int len=strTemp.GetLength();
CString str;
str.Empty();
char ch;
for(int i=0;i<len;i++)
{
ch=strTemp.GetAt(i);
switch(ch)
{
case '\\': str.Insert(0,"\\\\");
break;
default:str.Insert(0,ch);
}
}
str.MakeReverse();
strTemp=str;
return;
}
}