摘要:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing opt 阅读全文
摘要:
use master; go declare @temp nvarchar(20) declare myCurse cursor for select spid from sys.sysprocesses where dbid=DB_ID('数据库名称')--待清理的数据库 open myCurse 阅读全文
摘要:
--SQL Server死锁的查询方法: exec master.dbo.p_lockinfo 0,0; 显示死锁的进程,不显示正常的进程 exec master.dbo.p_lockinfo 1,0; 杀死死锁的进程,不显示正常的进程 --master数据库中创建如下存储过程 create pro 阅读全文
摘要:
--创建存储过程 create procedure [dbo].[updateMuLuBeiZu] AS Declare @archgid VARCHAR(1000), @bz VARCHAR(max), @strSql nvarchar(max) begin Declare curStudentF 阅读全文