sqlserver数据库还原存储过程脚本

database

 

存储过程必须要创建在系统数据库的master里

#from fhadmin.cn

create proc killspid (@dbname varchar(20))

as

begin

declare @sql nvarchar(500)

declare @spid int

set @sql="declare getspid cursor for select spid from sysprocesses where dbid=db_id("""+@dbname+""")"

exec (@sql)

open getspid

fetch next from getspid into @spid

while @@fetch_status <> -1

begin

exec("kill "+@spid)

fetch next from getspid into @spid

end

close getspid

deallocate getspid

end

 

代码生成器: [正反双向](单表、主表、明细表、树形表,快速开发利器)+快速表单构建器

freemaker模版技术 ,0个代码不用写,生成完整的一个模块,带页面、建表sql脚本、处理类、service等完整模块

 

多数据源:(支持同时连接无数个数据库,可以不同的模块连接不同数的据库)支持N个数据源

 

阿里数据库连接池druid,安全权限框架 shiro(菜单权限和按钮权限), 缓存框架 ehcache

 

代码编辑器,在线模版编辑,仿开发工具编辑器

 

调用摄像头拍照 自定义裁剪编辑头像,头像图片色度调节

 

websocket 及时站内信并声音提醒、实时在线管理、websocket及时刷新页面(完胜ajax技术)

 

以上是 sqlserver数据库还原存储过程脚本 的全部内容, 来源链接: utcz.com/z/536275.html

回到顶部