posted @ 2007-12-17 10:40 csdnexpert 阅读(100) 评论(0) 推荐(0)
摘要:
原帖地址:http://community.csdn.net/Expert/topic/3269/3269542.xml?temp=8.726138E-02table1序号 类别 起始号 终止号 总数 已用票号 已用票数 结余票号 结余票数 组合编号(主键)1 A 0000001 0000005 5 0000001,000... 阅读全文
摘要:
原帖地址:http://community.csdn.net/Expert/topic/3239/3239774.xml?temp=9.711856E-02物料 批号 库存数aa p01 5aa p02 10bb p01 20订单 物料 订货数1 aa 111 bb 102 aa 23 aa 1要得到:订单 物料 批号 出库1 aa p01 51 aa p02 61 bb p01 102 aa... 阅读全文
posted @ 2007-12-17 10:40 csdnexpert 阅读(140) 评论(0) 推荐(0)
摘要:
原帖地址: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/FAQ/FAQ_Index.asp?id=207897环境:Sql Server2000 +sp4问题:select datediff(day,'20040910','20040920') --这句可以执行--而下面这句不能执行(有时也可以执行)--sub_para为varchar(8),错误信息是:从字符串转换为 ... 阅读全文
posted @ 2007-12-17 10:40 csdnexpert 阅读(188) 评论(0) 推荐(0)
摘要:
原帖地址:http://community.csdn.net/Expert/topic/3428/3428792.xml?temp=.6476251--示例数据create table 表(ID int,NUM int)insert 表 select 1,2union all select 2,3union all select 3,2union all select 4,2union all... 阅读全文
posted @ 2007-12-17 10:40 csdnexpert 阅读(78) 评论(0) 推荐(0)
摘要:
原帖地址:http://community.csdn.net/Expert/topic/3434/3434688.xml?temp=3.246486E-03--测试数据create table 单位表 (单位代码 varchar(10),单位名称 varchar(50))insert 单位表 values('01' ,'中国单位') --1级insert 单位... 阅读全文
posted @ 2007-12-17 10:40 csdnexpert 阅读(94) 评论(0) 推荐(0)
浙公网安备 33010602011771号