码迷,mamicode.com
首页 >  
搜索关键字:sqlserver 删日志    ( 6880个结果
Sqlserver数据库还原一直显示“正在还原…”解决方法
第一步:新建查询 第二步:复制下面代码,修改数据库名 --恢复并且回到可访问状态,要执行 RESTORE database 数据库名 with recovery 第三步:执行 第四步:对象资源管理器》数据库》右键》刷新》 就正常了 ...
分类:数据库   时间:2020-02-20 13:25:47    阅读次数:259
SqlServer创建时间维度
DECLARE @BeginDate DATE; SELECT @BeginDate = '2018-1-1'; WHILE @BeginDate <= '2021-12-31' BEGIN INSERT INTO Dim_Date SELECT Cast(CONVERT(VARCHAR(10), ...
分类:数据库   时间:2020-02-20 10:04:19    阅读次数:91
SQLServer中获取所有数据库名、表名、字段名以及描述
1. 获取所有的数据库的信息 SELECT * FROM MASTER.DBO.SYSDATABASES 2. 获取所有数据表名 XTYPE U 代表用户创建的表 S 代表系统表 SELECT * FROM sys.SYSOBJECTS WHERE XTYPE='U' 3. 查看某表内的所有列 SE ...
分类:数据库   时间:2020-02-18 20:46:45    阅读次数:122
It is possible and safe to monitor a table DML history on sqlserver
He is my test step: In a test enviroument, I make a table "test"/ demo table:create table test ( a nvharchar(100)); trigger record table:CREATE TABLE ...
分类:数据库   时间:2020-02-16 21:08:08    阅读次数:128
EMC networker nmm can restore and recover sqlserver as different name to different location
EMC networker nmm can restore and recover sqlserver as different name to different location That is true. However, we should select this oprtions when ...
分类:数据库   时间:2020-02-16 20:55:02    阅读次数:107
An enhance script to check partition tables under all schemas in sqlserver
Simple step for EMC NW & NMM (1) disable WINDOWS UAC (reboot)(2) SET windows domain user AS sysadmin(3) modify hosts(4) install software (NW , NMM) (r ...
分类:数据库   时间:2020-02-16 20:54:09    阅读次数:86
I fullly understand why can not set "auto commit off" in sqlserver
This is xxxxx Because MES guy mistaken , the data was wrong and made system error then. After that I plan to set "autocommit off" in sqlserver as defa ...
分类:数据库   时间:2020-02-16 20:26:25    阅读次数:111
How to setup backup by using EMC NW + EMC NMM for sqlserver failover cluster (not always on)
As we said, sqlsever fail over cluster is perviously version of always on. The HA was guarenteed by OS not database. Therefor, we can not use windows ...
分类:数据库   时间:2020-02-16 20:20:37    阅读次数:110
To be contine ,NW NMM backup sqlserver failed.
Last time, we talk about separate under one cluster backup into two diffetent AG backup. Does it works ? How is it ? Let we it this time: Unfortunatel ...
分类:数据库   时间:2020-02-16 17:56:16    阅读次数:109
SqlServer死锁时使用nolock、option(force order)优化
前两天突然收到运维说某个项目经常死锁,客户反馈操作很卡,我们公司是做的wms(仓储物流管理)系统,卡起来无疑会导致客户的发货效率降低,所以我马上进到服务器检查了死锁情况,发现在下午2点到4点大概每10分钟一个死锁。 我检查是否是性能到瓶颈了导致死锁卡顿,但是并没有看到性能有太大压力,执行缓慢的语句拿 ...
分类:数据库   时间:2020-02-15 20:30:27    阅读次数:127
6880条   上一页 1 ... 33 34 35 36 37 ... 688 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!