restore statement:
restore database <databasename> from disk="your bak file full path" with replace
backup statement:
backup database <databasename> to disk="full path"
在程序里执行即可.
我在这里想问一下,Delphi 或C++Builder不使用批处理,直接在程序中所有windows的
Dos命令(如:ren,md,delete,copy,尤其是move命令)?就象foxpro中使用Dos命令一样
(!delete c:/*.* or run delete c:/*.*)这样的直接表达呢?