摘要: 环境:os:windows 2003 server enterprise edition 32bit(sp2)sqlserver:我这里是比较老的SQL Server2000 (SP4)发现了一个奇怪的问题,我获取了一个SQLServer2000数据库的备份文件(这个备份文件从哪里来的,无需追究,反正就是有一个SQL Server2000数据库的备份文件),没有任何关于这个备份文件的描述.1.如何获取数据库名称restore headeronly from disk='d:\publish\DBNAME.bak'2.如何获取数据库文件逻辑名称以及物理名称restore file 阅读全文
posted @ 2012-12-29 13:40 幻劫 阅读(345) 评论(0) 推荐(0) 编辑
摘要: uses CnCommon;// 目录尾加'\'修正function MakePath(const Dir: string): string;// 路径尾去掉 '\'function MakeDir(const Path: string): string;// 取系统目录function GetSystemDir: string;// 取Program Files目录function GetProgramFilesDir: string;// 取Windows目录function GetWindowsDir: string;// 应用程序路径function A 阅读全文
posted @ 2012-12-29 13:19 幻劫 阅读(1411) 评论(0) 推荐(0) 编辑