我在sql server 中的写了两个存储过程起名bf和hf
bf里写的代码是:
CREATE PROCEDURE bf AS
backup database yjy_scgl to disk ='f:\sjzc\yjy_scgl.dat'
with init
GO
想把数据库yjy_scgl备份到'f:\sjzc\yjy_scgl.dat'
在hf里写的代码是:
CREATE PROCEDURE hf AS
restore database yjy_scgl from disk = 'f:\sjcz\yjy_scgl.dat'
GO
在pb中调用这俩个存储过程可是不好用 我在pb中是这样调用的
declare bfsj procedure for bf
execute bf;
commit;
hf 和bf的调用大致一样 可是不好用啊 大家帮帮我 !!!!!!