posted @ 2009-08-10 10:20 岁月无痕 阅读(163) 评论(0) 推荐(0)
摘要:
public static void WriteLogs(string log) { string filePath = HttpContext.Current.Server.MapPath("~\\BllLogs.log"); List<string> logList = new List<string>(); if (File.Exists(filePath)) log... 阅读全文
摘要:
declare @s nvarchar(max)select @s = N',,45 , 1, 56, 346 456,8,5, ,d,1,4, 5 9 ,t,,4,5 ,,, w, 3,,'select * from dbo.split(@s,1,0)CREATE FUNCTION SPLIT(@s nvarchar(max),@trimPieces bit,@returnEmptyString... 阅读全文
posted @ 2009-07-09 17:09 岁月无痕 阅读(195) 评论(0) 推荐(0)
摘要:
SET NOCOUNT ON DECLARE @LogicalFileName sysname, @MaxMinutes INT, @NewSize INT USE CityWebMembership -- set the database name you will operateSELECT @LogicalFileName = 'CityWebMembership_log', -- log ... 阅读全文
posted @ 2009-06-26 17:43 岁月无痕 阅读(297) 评论(0) 推荐(0)
摘要:
Hi, I am a PHP newbie, I try invoke stored procedure in php5, butneed use mysqli_connect connect to mysql server.when i use the connection method,it show me a error message is "Call to undefined funct... 阅读全文
posted @ 2008-12-06 04:41 岁月无痕 阅读(661) 评论(0) 推荐(0)
摘要:
This is quote from http://www.demi.cn/archives/482Apache的配置文件http.conf参数含义详解Apache的配置由httpd.conf文件配置,因此下面的配置指令都是在httpd.conf文件中修改。主站点的配置(基本配置)(1) 基本配置:IXDBA.NET技术社区ServerRoot "/mnt/software/apache2" #你... 阅读全文
posted @ 2008-09-05 15:45 岁月无痕 阅读(358) 评论(0) 推荐(0)
摘要:
CREATE PROCEDURE `proc_SplitDemo`(inputstring varchar(1000),delim char(1)) NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT ''begindeclare strlen int; declare last_index int; declare cur_i... 阅读全文
posted @ 2008-06-12 15:39 岁月无痕 阅读(520) 评论(0) 推荐(0)
摘要:
Sample Code:create procedure proc_UseLike(keyword varchar(20))beginSET keyword = CONCAT('%',keyword,'%'); select * from table1 where field1 like keyword;end;call proc_UseLike('romatic'); 阅读全文
posted @ 2008-06-03 15:44 岁月无痕 阅读(314) 评论(0) 推荐(0)
摘要:
Get the window width and height in JavaScript using a cross-browser function that works with all versions of Internet Explorer and Firefox. function GetWidth() { var x = 0; if (self.innerHeight) { x =... 阅读全文
posted @ 2008-05-14 13:10 岁月无痕 阅读(354) 评论(0) 推荐(0)
摘要:
I have a trouble about recursive in mysql. the key is I use mysql not long time. I don't know much about MySql.So it is a big trouble of me.Ok, go tothe business now. If you want touse recursive in my... 阅读全文
posted @ 2008-05-07 00:07 岁月无痕 阅读(504) 评论(0) 推荐(0)
摘要:
一天,在回家的路上,被一群拿着摄像机的家伙拦住了,其中一个什么也没有拿的靓女说他们是XX报社的,要采访我。 采访开始后,那靓女问我:"刚才你是不是从马路中间的护栏上跳过来的?" 我说是,没错。她问我知道那么做不对吗?知道不对为什么还要违反交通规则? 我说为了节省时间,时间就是金钱就是生命,浪费我的时间就等于图我的财害我的命, 这是鲁迅先生说过的话。那靓女听我说完愣了半天, 然后才想起来问:难道就不... 阅读全文
posted @ 2005-09-16 18:45 岁月无痕 阅读(435) 评论(0) 推荐(0)
浙公网安备 33010602011771号