if exists( select * from sysobjects where name='pr_backup_db' and xtype='p' ) begin drop proc pr_backup_db end go /*备份数据库*/ create proc pr_backup_db @flag varchar(10) out, @backup_db_name varchar(128), @filename varchar(1000) --路径+文件名字 as declare @sql nvarchar(4000),@par nvarchar(1000) select @par='@filename varchar(1000)' select @sql...
[ 查看全文 ]