CSDN专家博客精华版

为人民服务!
  首页  :: 新随笔  :: 管理
上一页 1 ··· 231 232 233 234 235 236 237 238 239 ··· 521 下一页

2007年12月17日

摘要: 原帖地址:http://community.csdn.net/Expert/topic/3298/3298074.xml?temp=.6988336table1为初始化数据,table2为已用票据在table2上写触发器,table2每insert,update,or 批量delete时,实时体现tabel1的'已用票号','已用票数', '结余票号','结余票数'的值.-----------... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(81) 评论(0) 推荐(0)

摘要: 原帖地址:http://community.csdn.net/Expert/topic/3317/3317231.xml?temp=.7252313程序选择了: 项目名称,项目年度,地市,申请单位,支持金额这几个字段其中汇总字段为项目年度,地市查询结果列就要按需要项目名称,项目年度,地市,申请单位,支持金额排列好并能按指定的字段进行排序处理要求生成的结果:===================... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(127) 评论(0) 推荐(0)

摘要: 原贴地址:http://community.csdn.net/Expert/topic/3338/3338785.xml?temp=.9853022有表t1:ID | Place Time Level---|------------------- 1 | P1 T3 L1 2 | P1 T1 L1 3 | P3 T1 L2 ... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(73) 评论(0) 推荐(0)

摘要: 原帖地址http://community.csdn.net/Expert/topic/3384/3384941.xml?temp=.6640436---------------------------------------------------------------------------测试数据CREATE TABLE [dbo].[BOM_DETAIL] ( [PKID] [int]... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(83) 评论(0) 推荐(0)

摘要: /*--原帖地址:http://community.csdn.net/Expert/topic/3826/3826130.xml?temp=.4175836--*/--示例数据--建企业名称表CREATE TABLE qiye (qiyemingcheng char(16),xingzhi char(4),shunxu int)insert into qiye select '企业甲','国有... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(109) 评论(0) 推荐(0)

摘要: 先进先出的数据冲销处理 --示例数据:create table 销售订单(单号 varchar(10),日期 datetime,货品编码 varchar(10),数量 int)insert 销售订单 select 'A1','2005-5-1','ABCD',100 union allselect 'A2','2005-5-3','ABCD',200 union allselect 'A3',... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(139) 评论(0) 推荐(0)

摘要: 1、在查询分析器中调试 查询分析器中调试的步骤如下: SQL 2000查询分析器 --左连的对象浏览器(没有的话按F8) --对象项中 --右键调试的存储过程 --调试 --输入参数(必须输入所有的参数,包括默认值/输出参数 --点击执行 --出现一个浮动工具条 --上面有单步... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(112) 评论(0) 推荐(0)

摘要: 限制列数的交叉数据报表 --示例数据:CREATE TABLE test(factoryid varchar(20),bagid int,roll int,number numeric(9,1),UNIQUE(bagid,roll))INSERT test SELECT 'M-CS-11#6/GREEN',1,1, 86UNION ALL SELECT 'M-CS-11#6/GREEN',... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(92) 评论(0) 推荐(0)

摘要: BOM数据排序及分级显示 --示例数据:CREATE TABLE t1( Name varchar(20), Col1 varchar(2), Col2 varchar(2), Col3 varchar(2))INSERT t1(Name,Col1,Col2,Col3)SELECT 'A','1','','' UNION ALLSELECT 'A','2','','' ... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(104) 评论(0) 推荐(0)

摘要: 原帖地址:http://community.csdn.net/Expert/topic/3485/3485588.xml?temp=.8813745--示例数据create table sale(date datetime,code varchar(10),amt int)insert sale select '2004-10-22','aa',15000union all select ... 阅读全文

posted @ 2007-12-17 10:40 csdnexpert 阅读(132) 评论(0) 推荐(0)

上一页 1 ··· 231 232 233 234 235 236 237 238 239 ··· 521 下一页