摘要:
写mysql存储过程应注意的几点:1、声明变量(declare)时要注意字符集,用变量存储表字段时,表字段与变量的字符编码要一致。2、mysql的字符合并不能用‘+’号,必须用concat函数。3、每个游标必须使用不同的declare continue handler for not found set done=1来控制游标的结束。BEGINdeclare rt VARCHAR(100) CHARACTER SET gbk DEFAULT NULL;declare done tinyint(1) default 0;DECLARE ttname VARCHAR(60) CHARACTER S 阅读全文
posted @ 2012-09-10 10:39
Greyed Wolf
阅读(52077)评论(1)推荐(0)
编辑
摘要:
When I deploy my ungui webapp as ISAPI modules(under Apache 2.2 as DLL files),I use Delphi function getdir to get the path info where my Webapp dll exists in,but getdir returns Apache home path.How can I get the path info where my Webapp DLLs exists in? thank you very much.wxb_km,1/9使用函数:ExtractFile 阅读全文
posted @ 2012-09-02 22:41
Greyed Wolf
阅读(380)评论(0)推荐(0)
编辑