MYSQL使用技巧
2010-03-14 17:02
281 查看
1.
show databases;
show tables;
2.
print显示
select "Creating Foo table" as "Action";
3.防止SQL注入
mysql_real_escape_string(XXXX)
这个函数能够过滤’”等符号
4.char函数
select char(83,99,48,114,112,105,111,110) as "Action";
show databases;
show tables;
2.
print显示
select "Creating Foo table" as "Action";
3.防止SQL注入
mysql_real_escape_string(XXXX)
这个函数能够过滤’”等符号
4.char函数
select char(83,99,48,114,112,105,111,110) as "Action";
相关文章推荐
- mysql使用技巧
- mysql索引类型总结和使用技巧以及注意事项
- Mysql使用技巧
- mysqladmin使用技巧
- MySQL使用的常见问题解决与应用技巧汇总
- MYSQL使用技巧
- mysql 使用技巧
- 安装navicat for mysql及使用技巧
- 【MySQL使用技巧】JDBC连接
- 【转】mysql索引使用技巧及注意事项
- 10010---MySql的使用技巧
- MySQL索引类型总结和使用技巧以及注意事项
- MySQL索引类型总结和使用技巧以及注意事项
- mysql rand函数种子的使用技巧
- mysql使用技巧
- mysql初级运维使用技巧
- MySQL索引类型总结和使用技巧以及注意事项
- MySQL索引类型总结和使用技巧以及注意事项
- MySQL开发规范与使用技巧总结
- mysql索引使用技巧及注意事项