全部博文(271)
发布时间:2013-09-05 15:02:47
1. MySQL 获得当前时间戳函数:current_timestamp, current_timestamp() 代码如下 mysql> select current_timestamp, current_timestamp();+---------------------+---------------------+| current_timestamp | current_timestamp() .........【阅读全文】
发布时间:2013-09-04 13:20:19
存储过程: create procedure Pro_GetUserInfo(in szEmpName varchar(1000)) -> begin -> declare strSql varchar(1000); -> set strSql = concat('insert into TmpTable_UserInfo(EmpName,PcName,IP) select EmpName,PcName,IP from .........【阅读全文】