上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 很经常我们都要在sql中拼凑字符串,如果需要的评凑的目标字符串的来源都已经在一个表中,那很简单,我们只要写个类似的语句,就可以搞定。 declare @Va1 varchar(500); set @Va1=''; select @Va1=@Va1+',['+ColumnName+']' from ItemColumn where year=2008 and month=1 order by S... 阅读全文
posted @ 2008-05-31 22:48 stu_acer 阅读(6917) 评论(1) 推荐(0) 编辑
摘要: 作者:AnyJack 留意表达式中各参数的内涵. 在此文中将让你明白ExecuteSQL task组件在SSIS中的功能和作用,我将介绍下面内容: 关于任务 关于任务的属性 看完这些介绍后我将举出下面例子: 从一个有2个输入参数的SQL查询中返回一个简单的值 从一个SQL查询中返回一个记录集 执行一个存储过程并接收一个记录集、返回值、输出参数和传送一个输入参数 从SQL查询中返回XM... 阅读全文
posted @ 2008-04-28 21:46 stu_acer 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 从ProcessRequest开始 private void ProcessRequest(); Declaring Type: System.Web.UI.Page Assembly: System.Web, Version=1.0.5000.0 private void ProcessRequest() { Thread currentThread = Th... 阅读全文
posted @ 2008-04-09 22:16 stu_acer 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 问题: 我需要进行大量的SQL更新查询,而这些查询都需要我做出IF/ELSE之类的决定。我现在有的情况会使用光标,但是这样搜查上千行查找更新需要花很长时间。我有时候也使用一些动态SQL来决定某些查询参数。但是有没有更好的方法可以使用呢? 专家解答: CASE语句是一个非常强大而有用的工具,你可以用它来解决你的SQL Server查询问题。你可能已经可以很熟练地在执行SELECT命令的时... 阅读全文
posted @ 2008-03-22 10:40 stu_acer 阅读(658) 评论(0) 推荐(0) 编辑
摘要: RTM版是最终压盘版,Release To Manufacturing,也就是交付给光盘制作厂商,这和最终发布版一样。发布RTM后,厂商若要修改就只有通过发布SP来完成了。 RC版是发布候选版,Release Candidate,一般是RTM版本前的几个预览版,但是这个阶段来说基本功能已经完成,主要是用来捉bug了,所以发布RC后,基本功能不会有大的变化了,只要各种测试能够通过,这也表明最终发布不... 阅读全文
posted @ 2008-03-04 20:43 stu_acer 阅读(641) 评论(0) 推荐(0) 编辑
摘要: http://sqljunkies.com/WebLog/knight_reign/archive/2005/03/18/9178.aspx Well, I've been a little pre-occupied lately. Between rebuilding machines, my kids getting sick, getting sick from my kids, and m... 阅读全文
posted @ 2008-01-24 00:13 stu_acer 阅读(362) 评论(0) 推荐(0) 编辑
摘要: http://sqljunkies.com/WebLog/knight_reign/archive/2005/03/25/9588.aspx In an earlier blog I mentioned that we'd have a fix for the ForEachADOEnumerator. Before the fix there were some pretty involved ... 阅读全文
posted @ 2008-01-23 23:56 stu_acer 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://sqljunkies.com/WebLog/knight_reign/archive/2004/12/06/5404.aspx So, you want to record some information in a flat file about when it was created, what machine it was created on etc.? The f... 阅读全文
posted @ 2008-01-23 23:09 stu_acer 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.sqlservercentral.com/articles/Stored+Procedures/2977/ Introduction Most of us would be very specific in designing the database code (Stored procedures, functions, views etc) in a re-... 阅读全文
posted @ 2008-01-23 23:07 stu_acer 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 原文地址http://sqljunkies.com/WebLog/knight_reign/archive/2005/02/27/8187.aspx Here's something useful you can do with system variables and the SQL Task. Logging in SSIS is more flexible and there are mor... 阅读全文
posted @ 2008-01-23 22:16 stu_acer 阅读(288) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页