CSDN专家博客精华版

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

2007年12月17日

摘要: 原帖地址: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 阅读(79) 评论(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 阅读(72) 评论(0) 推荐(0)

摘要: if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[p_movefile]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop procedure [dbo].[p_movefile]GO/*--在文本文件中追加数据 在文本文件中追加数据 如果文件不存在,将创... 阅读全文

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

摘要: /*--原帖地址:http://community.csdn.net/Expert/topic/3845/3845290.xml?temp=.3689386--*/--测试数据create table tb(编号 int,性质 varchar(10),数量 int,指标1 decimal(10,1),指标2 decimal)insert tb select 1 ,'00' ,10,1.1 ,1... 阅读全文

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

摘要: /*--原帖地址:http://community.csdn.net/Expert/topic/3845/3845647.xml?temp=.7272455--*//*--处理要求用如下语句可以实现随机排序:select * from xiaofei where status=1 order by newid()这样的话每次用户刷新页面排序就会变.现在我想做成不同用户进来页面看到的排序都不一样... 阅读全文

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

摘要: /*--原帖地址:http://community.csdn.net/Expert/topic/3851/3851741.xml?temp=.4726831--*/--测试数据create table tb(id varchar(50) primary key,detail text)insert tb select 'aaa','11111'union all select 'bbb','4... 阅读全文

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

摘要: /*--原帖地址:http://community.csdn.net/Expert/topic/3818/3818559.xml?temp=.9593317--*//*--处理要求在sql数据库里有一个名为Pos200502的Database,每个月会有一个类似于这样名称(Pos200502 Pos200503)的database我该如何利用sql server的自动作业+一段存储过程,实现以... 阅读全文

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

摘要: --方法2. 脚本复制use mastergoif exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_ProcCopyDb]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop procedure [dbo].[sp_ProcCopyDb]GO/*--数据库... 阅读全文

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

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