- 博客(4)
- 资源 (10)
- 收藏
- 关注
转载 MySql的存储过程学习小结
1.用变量做表名:简单的用set或者declare语句定义变量,然后直接作为sql的表名是不行的,mysql会把变量名当作表名。在其他的sql数据库中也是如此,mssql的解决方法是将整条sql语句作为变量,其中穿插变量作为表名,然后用sp_executesql调用该语句。这在mysql5.0之前是不行的,5.0之后引入了一个全新的语句,可以达到类似sp_executesql的功能
2012-08-30 09:22:06 612
转载 mysql存储过程写法—动态参数运用
--删除 drop procedure if exists up_common_select --创建 CREATE PROCEDURE `up_common_select` ( in t_name varchar(50) )
2012-08-30 09:13:12 627
转载 UCenter的应用整合与单点登录分析
一直在用康盛的产品,自然少不了单点登陆,最近重新研究了下ucenter的机制,其实它的基本原理就一句话:跨域设置用户信息。下面只对用户登陆做比较详细说明,其他注册、PM等操作其实原理差不多。用户登陆view sourceprint?1do_login.php[uchome]2
2012-08-18 23:03:39 1115
转载 PHP实现计划任务的几种方法
PHP的实现决定了它没有Java和.Net这种AppServer的概念, 而http协议是一个无状态的协议, php只能被用户触发, 被调用, 调用后会自动退出内存, 没有常驻内存, 就没有办法准确的定时处理那么, 如果需要用PHP定时执行某些任务的话, 可以有以下俩个方法:Linux下crontab, windows下计划任务找个被频繁调用的网页, 里面加上一个检测代码
2012-08-03 13:53:35 4519
Windows版libxml2.7.8
2018-05-25
Excel2003教案
2011-03-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人