摘要: windows 2008 ghost 在另外机器恢复后 启动问题文件:\Windows\System32\Winload.exe 状态:0xc000000e信息:无法加载所选项,因为应用程序丢失或损坏。系统不能启动.在系统做ghost备份之前,先在系统中执行以下命令bcdedit /set {default} osdevice bootbcdedit /set {default} device bootbcdedit /set {default} detecthal 1然后再进行GHost备份,这样就不会出现无法启动的问题了,一劳永逸.经测试,此方法适用于Windows Vista/7/200 阅读全文
posted @ 2012-08-24 13:50 lukisy 阅读(835) 评论(0) 推荐(0) 编辑
摘要: create table aa (a varchar(50),b varchar(50),c varchar(50))create table bb (a varchar(50),b varchar(50))insert into aa (a,b) values ('a','1')insert into aa (a,b) values ('b','2')insert into aa (a,b)values ('c','3')insert into aa (a,b)values ('d' 阅读全文
posted @ 2012-05-28 11:16 lukisy 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 运行firewall.cpl--打开防火墙--高级设置--入站规则--新建规则--选择程序--》位置C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn\sqlservr.exe,这样就可以了 阅读全文
posted @ 2012-05-25 13:18 lukisy 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 源代码 在 http://wiki.freepascal.org/paszlib页面中。uses zipper;procedure TForm1.Button5Click(Sender: TObject);var Zipper: TZipper; i:integer;begin //http://wiki.freepascal.org/paszlib try Zipper := TZipper.Create; Zipper.FileName := 'E:\20120411\zip\zip.zip'; Zipper.Entries.AddFileEntry('E:\201 阅读全文
posted @ 2012-04-11 16:18 lukisy 阅读(294) 评论(0) 推荐(0) 编辑
摘要: EXEC sp_changeobjectowner 'lukisy.数据表', 'dbo'EXEC sp_changeobjectowner 'dbo.数据表', 'lukisy' 阅读全文
posted @ 2012-04-09 14:17 lukisy 阅读(89) 评论(0) 推荐(0) 编辑
摘要: BACKUP LOG database_name WITH TRUNCATE_ONLY截断sql日志,收缩后 日志文件回 1m。database_name 是需要收缩的数据库名.呵呵,不需要日志文件的时候再用. 阅读全文
posted @ 2012-04-09 14:16 lukisy 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 在sqlserver中用 restore database 恢复数据库 ,当不知道数据库的具体逻辑文件信息时,先用 restore filelistonly 查看restore filelistonly from disk='D:\dbbak\数据库A_Bak'LogicalName PhysicalName Type FileGroupName Size MaxSize数据库A_Data D:\xuewei\数据库A_Data.MDF D PRIMARY 271450112 35184372080640数据库A_data1 D:\xuewei\数据... 阅读全文
posted @ 2012-04-09 14:14 lukisy 阅读(783) 评论(0) 推荐(0) 编辑