摘要: C:\Inetpub\wwwroot\gs\bin\db_config.txt 阅读全文
posted @ 2012-04-28 19:46 brian_lee 阅读(167) 评论(0) 推荐(0)
摘要: 网上转载:http://blog.csdn.net/greenery/article/details/6532646第一步,用 sp_who2 查出备份还原的sid(或在窗口中的连接属性中看)第二步,用以下查询获得运行情况(看 percent_complete列)SELECT session_id, request_id, start_time, status, command, sql_handle--,statement_start_offset, statement_end_offset, plan_handle, database_id, user_id --,connection_i 阅读全文
posted @ 2012-04-24 14:53 brian_lee 阅读(2166) 评论(0) 推荐(0)
摘要: 1、Select identity(int,1,1) id,* into #tem from table1 select * from #tem drop table #temselect rowid=identity(int,1,1),userip into tempT from useraccessselect * from tempTdrop tabletempT不是好方法,尤其是含有union all时,无法使用。 阅读全文
posted @ 2012-04-21 15:27 brian_lee 阅读(556) 评论(0) 推荐(0)
摘要: ---1财务接收2财务发放3票务科发放4售票组长发放5售票点返库6售票组长返库7票务科返库Select * from TrnInv_Details where FPDM='2012041701'---1财务接收(1笔)IN,2财务发放(2笔记录)TOUT、TIN,3票务科发放(2笔记录)TOUT、TIN,4售票组长发放TOUT\TIN ;---5售票员返库(2笔记录)ROUT、RIN,6售票组长返库 ROUT\RIN,7票务科返库 ROUT\RIN--发给谁TrnInv_Tb, person是接收人,LUSERID是操作人员Select * from TrnInv_Tbl wh 阅读全文
posted @ 2012-04-17 23:21 brian_lee 阅读(403) 评论(0) 推荐(0)
摘要: 问题描述:XtraPivotGrid报表无法正常导出Excel,其它XtraGrid报表可以正常导出;解决办法:安装Developer Express Inc.NET.v3后,可以正常导出。 阅读全文
posted @ 2012-03-17 23:56 brian_lee 阅读(212) 评论(0) 推荐(0)
摘要: 问题描述:我电脑安装了VS2008\VS2008 SP1\VB6,每次打开VB项目时,VB6都会提示安装VS2008 SP1,耐心安装后,下次打开仍旧提示安装。解决办法:在控制面板中===》添加删除程序中===》VS2008===》修复===》修复OK后,问题解决。 阅读全文
posted @ 2012-03-15 11:33 brian_lee 阅读(365) 评论(0) 推荐(0)
摘要: 代理中属性设定中,改为本地账号启动,可以解决不能重启问题;原因是原有设定xxx账号有人设定密码,却密码忘记或失效。 阅读全文
posted @ 2012-02-27 12:42 brian_lee 阅读(1273) 评论(0) 推荐(0)
摘要: 与另一端SQL SERVER管理员确认,他们系统重装了,没有设定这个账号。 阅读全文
posted @ 2012-02-27 12:11 brian_lee 阅读(1580) 评论(0) 推荐(0)
摘要: 参考:http://msdn.microsoft.com/zh-cn/library/ms171728(VS.80).aspxServer 端:Form1.CS:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Net;using System.Net.Sockets;using System.Thread 阅读全文
posted @ 2012-02-18 22:08 brian_lee 阅读(799) 评论(0) 推荐(0)
摘要: 安装sql server 2008 management,提示错误:Sql2005SsmsExpressFacet 检查是否安装了 SQL Server 2005 Express 工具。 失败,已安装 SQL Server 2005 Express 工具。若要继续,请删除 SQL Server 2005 Express 工具。sql server 2005 management和sql server 2008 management不是兼容吗?为什么会有这样的提示?答案是SQL Server 2005 Express 工具不是sql server 2005 management,不用卸载sql 阅读全文
posted @ 2012-02-07 21:20 brian_lee 阅读(6045) 评论(5) 推荐(2)