摘要: --查询文件是否存在CREATE TABLE #tmp ([File Exists] BIT, [File is a Directory] BIT, [Parent Directory Exists] BIT) INSERT INTO #tmp ([File Exists], [File is a Directory], [Parent Directory Exists]) EXEC master.dbo.xp_fileexist 'D:\Test.bak' SELECT * FROM #tmp DROP TABLE #tmp--完整备份数据库BACKUP DATABASE M 阅读全文
posted @ 2011-12-09 17:13 大笑江湖 阅读(288) 评论(0) 推荐(0) 编辑
摘要: --查询文件是否存在CREATE TABLE #tmp ([File Exists] BIT, [File is a Directory] BIT, [Parent Directory Exists] BIT) INSERT INTO #tmp ([File Exists], [File is a Directory], [Parent Directory Exists]) EXEC master.dbo.xp_fileexist 'D:\Test.bak' SELECT * FROM #tmp DROP TABLE #tmp--完整备份数据库BACKUP DATABASE M 阅读全文
posted @ 2011-12-09 16:07 大笑江湖 阅读(438) 评论(0) 推荐(0) 编辑