03 2007 档案

Sql Server Trigger 的使用(Insert ,Update,Delete...)
摘要:Table Name: TB_1,TB_2 (两个table 结构完全一样) Create Table TB_1(ID Int, Name_1 varchar(20),Status varchar(20) ,Type Varchar(20)) Create Table TB_2(ID I... 阅读全文

posted @ 2007-03-30 14:01 封起De日子 阅读(328) 评论(0) 推荐(0) 编辑

Oracle 中利用Procedure 发邮件...
摘要:CREATE OR REPLACE PROCEDURE tnt_send_mail( p_sender IN VARCHAR2, p_receiver IN VARCHAR2, P_subject IN VARCHAR2, p_message IN VARCHAR2)AS m... 阅读全文

posted @ 2007-03-26 10:55 封起De日子 阅读(175) 评论(0) 推荐(0) 编辑

关于上海居住证-我们不得不说的实情!
摘要:从上海市政府一推出之初,就一直宣传持有上海人才类居住证,可以享受上海同等市民待遇,那既然可以享受上海高等市民待遇,那市政府为何不直接给那些“人才”以户口呢,而是只给居住证。通过下面的比较,你就不难看出上海市政府的良苦有心了。 持有上海市人才类居住证,用工单位就得为那些外地人来沪的“人才”交纳四金,... 阅读全文

posted @ 2007-03-24 19:57 封起De日子 阅读(168) 评论(0) 推荐(0) 编辑

让你眼花缭乱的JS代码~~
摘要:随便打开一个网站(图片较多的网站),然后地址栏粘贴以下代码,按回车,看看出现什么。 程序代码 javascript:R=0;%20x1=.1;%20y1=.05;%20x2=.25;%20y2=.24;%20x3=1.6;%20y3=.24;%20x4=300;%20y4=200;%20x5=3... 阅读全文

posted @ 2007-03-24 11:17 封起De日子 阅读(176) 评论(0) 推荐(0) 编辑

Builds Details by Device for Engineering (DownLoad to PC,Field Type=CSV)
摘要:REPORT ZRPP0054 NO STANDARD PAGE HEADING LINE-SIZE 255 MESSAGE-ID 00.*----------------------------------------------... 阅读全文

posted @ 2007-03-23 15:04 封起De日子 阅读(164) 评论(0) 推荐(0) 编辑

Raw Material IQA Status Inventory Report
摘要:*&---------------------------------------------------------------------**& Company ASAT Company Limited **& ... 阅读全文

posted @ 2007-03-23 15:01 封起De日子 阅读(254) 评论(0) 推荐(0) 编辑

查询Sql server数据死锁和阻塞的一个Store procedure...
摘要:SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO ALTER procedure sp_who_lock as begin declare @spid int,@bl int, @intTransactionCountOnEntry in... 阅读全文

posted @ 2007-03-17 11:05 封起De日子 阅读(160) 评论(0) 推荐(0) 编辑

Asp.net 中的div 滚动条以及Css 的使用....
摘要:---当控件的高度超出范围,自动出现上下,左右 拉动滚动条 控件 ----运行这段程序,滚动滚条时可以行到当行的位置 dsa... 阅读全文

posted @ 2007-03-17 10:40 封起De日子 阅读(351) 评论(0) 推荐(0) 编辑

Sql查找断号区间...
摘要:---问题------查找断号区间 --建立測試環境Create Table TEST(ID Int)--插入數據Insert TEST Select 1Union All Select 2Union All Select 5Union All Select 6Union All Select 8... 阅读全文

posted @ 2007-03-17 10:30 封起De日子 阅读(263) 评论(0) 推荐(0) 编辑

将15位身份证升级成18位的用户定义Function...
摘要:---问题-----将15位身份证升级成18位的用户定义函数CREATE FUNCTION ID15TO18 (@id15 char(15)) RETURNS CHAR(18) AS BEGIN DECLARE @ID18 CHAR(18) DECLARE @S1 AS INTEG... 阅读全文

posted @ 2007-03-17 10:26 封起De日子 阅读(169) 评论(0) 推荐(0) 编辑

一种BOM所用的Function...
摘要:---问题---create table BOM(CODE varchar(4),C_CODE varchar(4),NUM int)insert into BOM select 'A','B',2insert into BOM select 'A','C',1insert into BOM se... 阅读全文

posted @ 2007-03-17 10:25 封起De日子 阅读(132) 评论(0) 推荐(0) 编辑

一段取值的sql...(charindex的应用)
摘要:---问题---/*表test字段中field的值如下:aa,cd;ttttdd,pp;qq;ttd pptt,qqq;ttt;1oo;tt 希望把字段值都更新一下,取第一个","号前的值,如果没有","号则取";"前的值,如果值为空就还是为空,最终的值变成如下:aattddqq ppttoo*/... 阅读全文

posted @ 2007-03-17 10:21 封起De日子 阅读(155) 评论(0) 推荐(0) 编辑

Sql server identity字段的重新定位...
摘要:---问题---/*create table t_t1 (id int identity(1,1),name varchar(10)) insert into t_t1 select 'xx1'union all select 'xx1'union all select 'xx1'union al... 阅读全文

posted @ 2007-03-17 10:16 封起De日子 阅读(110) 评论(0) 推荐(0) 编辑

Sql server 日期型与数值型的转换....
摘要:---问题---/*现在遇到一个问题: 数据库是sql server2000,前台录入的是时间,但是数据库中存的确是int型,如果我要按照日期查找(例如找2007-3-12到2007-3-24的数据),我应该如何写sql语句. 假设表名为test,保存日期的字段名为open_date.*/ dec... 阅读全文

posted @ 2007-03-17 10:14 封起De日子 阅读(4221) 评论(0) 推荐(0) 编辑

Sql Server Some Question --Case...Whne...(2)
摘要:----问题----/*在SQL server中,表为:create table tt1(id int identity(1,1),T_key varchar(10),T_value varchar(10),T_remark varchar(20))goinsert tt1 values('key... 阅读全文

posted @ 2007-03-17 10:12 封起De日子 阅读(106) 评论(0) 推荐(0) 编辑

Sql Server Some Question --Select Interzone(区间的) Data
摘要:----问题----查找第10 - 20 的记录declare @tb_1 table(id int identity(1,1), name varchar(10)) declare @i intset @i=0 while @i<20begininsert into @tb_1 select '... 阅读全文

posted @ 2007-03-17 09:28 封起De日子 阅读(95) 评论(0) 推荐(0) 编辑

Sql Server Some Question --Case...Whne...(1)
摘要:--- 问题----1)给出你的问题的SQL脚本和样例数据,如:/*create table t( year int not null, --年度 s1 int, -- 一季度销售额 s2 int, -- 二季度销售额 s3 int, -- 三季度销售额 s4 int -- 四季度销售额 ) in... 阅读全文

posted @ 2007-03-17 09:23 封起De日子 阅读(116) 评论(0) 推荐(0) 编辑

JS实现从照片中裁切自已的肖像
摘要:代码如下: [Ctrl+A 全选 提示:你可先修改部分代码,再点运行代码] 阅读全文

posted @ 2007-03-11 11:27 封起De日子 阅读(133) 评论(0) 推荐(0) 编辑

SQL中CONVERT转化函数的用法
摘要:格式:CONVERT(data_type,expression[,style])说明:此样式一般在时间类型(datetime,smalldatetime)与字符串类型(nchar,nvarchar,char,varchar)相互转换的时候才用到.例子:SELECT CONVERT(varchar(... 阅读全文

posted @ 2007-03-11 11:23 封起De日子 阅读(186) 评论(0) 推荐(0) 编辑

学习MDX的15个例子
摘要:http://www.windowsitpro.com/SQLServer/Article/ArticleID/22994/22994.html The most frequent request that I receive from readers is for more info... 阅读全文

posted @ 2007-03-11 11:06 封起De日子 阅读(218) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示