Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ModelFactory { static class Program { /// <summary> /// 应用程序的主入口点. /// </summary> [STAThread] sta
转载:http://www.cnblogs.com/liulanglang/archive/2007/12/04/981812.html 上周要写一个SQL-SERVER数据库备份还原的程序,很没有思路,只是记得上学的时候用过SQL语句来完成数据库的备份还原,其余的方式还没有尝试过.经过资料查找终于找到了解决方案,效果还不错,于是写下来一起分享. 大家最常见的是使用sql命令来进行数据库备份, 最常用的sql语句如下: backup [dbname] to disk=[路径+文件名] r
expdb命令版本 @echo off REM ########################################################### REM # Windows Server下Oracle数据库自动备份批处理脚本 REM # 使用expdb命令导出需要先在数据库中创建备份文件存贮目录,sql如下: REM # create or replace directory IRS_DATA_BAK_DIR as 'D:\oraclebak'; REM #########