Always On SQL Server Replica in a Disconnected State
Sometimes the SQL logs and application logs provide some great info in regards to errors and issues. When building an Always On environment the error messages you can possibly run across are very vague...
View ArticleKerberos And SQL Server
2. Why is Kerberos needed for SQL Server? When NTLM is used, the client, for example a user logged into a laptop, contacts a domain controller when requesting access to a resource in the network. This...
View ArticleIt’s Time to Improve DBCC CHECKDB.
Microsoft has been resting on Paul Randal’s laurels for far too long. From 1999 to 2007, Paul poured his heart and soul into rewriting SQL Server’s code to check for and repair database corruption....
View ArticleUnderstanding automatic tuning in SQL Server 2017
Monitoring databasesfor optimal query performance,creating and maintaining required indexes,and dropping rarely-used, unused or expensive indexesis a common database administration task.As...
View ArticleEncryption & Key Management for SQL Server - Definitive Guide
Microsoft SQL Serverusers can leverage encryption and key management toachieve better security and meet compliance requirements (PCI DSS, HIPAA, etc.). This definitive guide covers the critical issues...
View ArticleUsing Persistent memory with a virtual Microsoft SQL Server vPMem mode
We’re continuing ourblog series dedicated to the great persistent memory technology. In thePart I we discussed the way of configuring a PMem device on an ESXi host. In this part we will cover how an...
View ArticleSQL Server高可用镜像实现原理
编辑推荐: 本文来自于网易云,主要介绍了SQL Server 高可用镜像实现原理中数据副本,运行模式,故障转移,透明切换等。 SQL Server 是windows平台.NET架构下标配数据库解决方案,与Oracle、mysql共同构成了DB-Engines Ranking 的第一阵营,在国内外企业市场中有着广泛的应用。Mirroring是SQL Server...
View ArticleSQL Server Dynamic Queries
I have 15 stored procedures that return data from a common table and then join that table with a specific table to retrieve inventory. Example: Common: tblCommon Specific: tblSpecific Is there way I...
View Article用命令创建用户、配置 IIS、配置 SQL Server
在服务器上添加一个网站时,需要做一系列步骤,这个步骤往往是人工做的,能不能用程序来执行呢? 可以的,主要是通过调用命令行来执行。 创建用户 echo "add user" net user {username} {password} /add REM net user myuser /active:no 禁用 myuser 用户 REM net user myuser /active:yes 激活...
View ArticleShortcut: Change connection in SQL Server Management Studio
I commonly run into a few connection-related scenarios: I'm working on a large query and need to run it against several servers, not concurrently, but one after the other. I've just made a database...
View ArticleOptimize Large SQL Server Insert, Update and Delete Processes by Using Batches
By: Eduardo Pivaral || Related Tips:More >T-SQL Problem Sometimes you must perform DML processes (insert, update, delete or combinations of these) on large SQL Server tables. If your database has a...
View ArticleDeciding Between Editions of SQL Server for Production
By: Daniel Farina || Related Tips:More > Database Administration Problem You're asked to run a project that uses SQL Server as the database engine in your production environment with the least cost...
View ArticleManage Concurrency in SQL SERVER 2005
How to efficiently store and manage images in SQL Server 2005 I want to insert my product's image into a database and then want to get those image on request. please suggest.I disagree with Aaron....
View ArticleNew SQL Server 2017 features
Are you considering an upgrade to a more modern version of SQL Server? Are you choosing between SQL Server 2016 or SQL Server 2017? If so, then my advice is to upgrade to SQL Server 2017 as I explain...
View ArticleShowplan Enhancements for UDFs
Microsoft has been enhancing the contents of the ShowplanXML output for SQL Server over the last few releases and in SQL Server 2017 CU3, they introduced user-defined function (UDF) execution...
View ArticleSQL Server - OPENQUERY
I am using an Openquey which has been working fine on SQL Server 2005, I have 1 server that is SQL Server 2008 which this does not work on. If I run the following: SELECT * FROM OPENQUERY([Manchester],...
View ArticleGuatemala SQL Server local group
Good news for all the Guatemalan data professionals, starting from August 2018 you have an official PASS SQL Server local group near to you! What is PASS? First thing first, for all those future...
View ArticleError 3709 when connecting by ADODB.connection to SQL Server 2008...
I'm trying to open a recordset on a SQL Server in Excel using the below code, but get a 3709 - The connection cannot be used to perform this operation. It is either closed or invalid in this context....
View ArticleSQL Server Database Corruption and Impact of running CHECKDB repair with...
By: Simon Liew || Related Tips:More > Database Consistency Checks DBCCs Problem I am learning about SQL Server database corruption and had a question. When a single row in a SQL Server data page is...
View ArticleCreating a Rolling Average Graph with Power BI
Problem Can you describe a Rolling Average (also known as Moving Average) and how can I create a simple rolling average in Power BI without using DAX ( Data Analysis Expressions )? Solution What is...
View Article