摘要:
做完网站后在本地调试一切正常,发布到服务器上出现以下错误解决方法:在web.config里节点内添加后问题解决 阅读全文
摘要:
1. dir d:\icon >d:\1.txt2. dird:\icon /b>d:\1.txt1.获取详细信息2.只获取名称d:\icon 是要获取的目录文件夹d:\1.txt 是生成的文件路径/b 是否显示详细信息的区分 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Reflection; 6 7 namespace MethodInfoInv... 阅读全文
摘要:
1 using System; 2 using System.IO;namespace File_read 3 { 4 class FileRead 5 { 6 static void Main(string[] args) 7 { 8 /... 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.IO; 5 using System.Net; 6 using System.Windows.Forms; ... 阅读全文
摘要:
while 1=1begin delete top (5000) from tb where sysdate<='2013-12-31' if(@@rowcount<5000) break; waitfor delay '00:00:01'end 阅读全文
摘要:
sql server中,如果想知道有哪些语句是执行效率不高的,应该如何查看呢?下面就将为您介绍sql server中如何查看执行效率不高的语句,供您参考。在测量功能时,先以下命令清除sql server的缓存dbcc freeProcCache在点击某个按钮,执行完后,再执行下面语句,就可以知道系统... 阅读全文
摘要:
原有数据colA colB张三 语文张三 数学张三 英语现要把张三的 colB的内容组成一个字段内效果如下:colA colB张三 语文,数学,英语,实现方法: DECLARE @Return NVARCHAR(1000) SELECT @Return=ISNU... 阅读全文
摘要:
引发原因:是因为我在还原数据库的时候,还有其他的用户正在使用数据库,所以就会出现以上提示。解决方法:1,设置数据库在单用户模式下工作。设置方法:在需要还原的数据库上右击,在右键菜单命令上选择"属性"->"选项"->"状态"->"限制访问"->"Single"。这是SQLSERVER2005的菜单命令... 阅读全文
摘要:
--处理表重复记录(查询和删除)/*************************************************************************************************************************************... 阅读全文