摘要:
BACKUP DATABASE [GTMAuto] TO DISK = N'\\192.168.1.1\D$\GTMAuto_24102021.bak' WITH COPY_ONLY, NOFORMAT, NOINIT, NAME = N'GTMAuto-Full Database Backup', 阅读全文
摘要:
DECLARE @longrunningthreshold int SET @longrunningthreshold=60 ;WITH cte AS (SELECT [Session_id]=spid, [Sessioin_start_time]= (SELECT start_time FROM 阅读全文
摘要:
IF OBJECT_ID('TEMPDB..#tmp')IS NOT NULL DROP TABLE #tmp create table #tmp(name nvarchar(100), rows int, reserved nvarchar(100), data nvarchar(100), in 阅读全文
摘要:
//取得系统日期 function nowDatetime() { var date = new Date(); var month = (date.getMonth()+1) > 9 ? (date.getMonth()+1) : "0" + (date.getMonth()+1... 阅读全文
摘要:
--表if exists (select * from dbo.sysobjects where id = object_id(N'[monthly_budget_work]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [month... 阅读全文