How many Cores per Socket do I need?
(Be sure to checkout the FREE SQLpassion Performance Tuning Training Plan - you get a weekly email packed with all the essential knowledge you need to know about performance tuning on SQL Server.)...
View ArticleSQL: Cursor types in SQL Server
When I'm running SQL Server Advanced T-SQL classes, we spend time discussing cursors. The general message is that most of the time, but not always, cursors are the wrong answer. The problem with...
View ArticleAzure Availability Package: IIS + SQL Server
Can someone please explain me what I need to do in order to make my websites available all the time using Microsoft azure. At the moment I have just one dedicated server with IIS (running 7 websites)...
View ArticleSDU Tools: Show a number as text in SQL Server
Years ago, it was common to need to print checks (cheques) from computer systems. Fortunately checks have now pretty much disappeared in most countries. One of the challenges with printing a check,...
View ArticleTSQL-Tuesday #109 Influence Somebody
Influence Somebody Ahh, December. What a wonderful time. Snow all around (many along the eastern seaboard of the United States were hit Sunday by a snowstorm… I had 7″ of that wonderful white flakey...
View ArticleEncrypting the ADO.Net connection to SQL Server and verification
Why should we encrypt ADO.Net communication We all might have heard about encrypting the web server traffic using http(s) protocol. It make sense to any beginner that it should be encrypted since the...
View ArticleCreate custom T-SQL code snippets with Azure Data Studio
By:Eduardo Pivaral | Last Updated: 2018-12-12 || Related Tips:More > Database Administration Problem If you work with SQL Server, it is very likely you have a lot of custom scripts you execute...
View ArticleAuto Generate NetBackup script to backup SQL Server databases
By:Alejandro Cobar | Last Updated: 2018-12-12 || Related Tips:More > Backup Problem Sometimes companies opt to use third party solutions to manage their SQL Server database backups . One of these...
View ArticleSQL Server Vulnerability Assessment
SQL Server Vulnerability Assessment (VA) in SQL Server Management Studio 17.4 or later lets SQL Server scan your databases for potential security vulnerabilities and can be run against SQL Server 2012...
View ArticleSQL Server User History History
I need to run a query that pulls a user(s) query history to determine long running queries. This information will be pulled every 5-10 minutes and stored in a table for a weekly report to run against...
View ArticleSix methods to automatically Discover SQL Server instances
DBAs have plenty of day-to-day tasks to do as part of administration, but one overarching task is managing the entire SQL Server environment. To do this, the full SQL Server estate must be discovered...
View ArticleSome differences with SQL Server when running on AWS RDS
If you plan on using Amazon Web Services (AWS) to host your SQL Server based applications in the cloud, then you have a couple of options. One is just to have an EC2 instance (a VM) and install the...
View ArticleShortcut: Missing index details in SQL Server Management Studio
I've mentioned before that SQL Server Management Studio (SSMS) is a good tool for analyzing queries, as much as for executing them. In SQL Server 2005, query plans had missing index details added. When...
View ArticleUsing T-SQL to Assess Goodness of Fit to an Exponential Distribution
By:Rick Dobson | Last Updated: 2018-12-13 || Related Tips:More > T-SQL Problem Please provide a framework with SQL code for assessing if a set of data values conform to an exponential distribution....
View ArticleWorking with SQL Server Functions and .NET
By:Artemakis Artemiou | Last Updated: 2018-12-13 || Related Tips:More > Application Development Problem In previous .NET Application Development tips , we've learned how to get started with .NET and...
View ArticleLet’s Discuss the Importance of Backup in SQL Server
There should be proper planning done to create backup of SQL Server Database. As all the data saved within the database is prone to get corrupt in several ways such as any human error, network...
View ArticleGet To Know About Profiler In SQL Server
SQL server comprises of an inbuilt powerful tool i.e., SQL Server Profiler. This feature or tool is embedded with the server since a long time and is generally used by database administrators. It...
View ArticleT-SQL Tuesday #109 Influence
This month’s T-SQL Tuesday host is Jason Brimhall. He asks everyone to write about influence , which is something that I should know about and think I have, but am somewhat uncomfortable writing...
View ArticleSetting up SQL Server replication in containers
Last week I saw a thread on twitter about how to get replication setup for SQL Server running in a container. Now I know very little about replication, it’s not an area of SQL that I’ve had a lot of...
View Article多项目 函数库、类库 统一为一个版本的方法 one.asp
前几天 写的博客 多项目 函数库、类库 统一为一个版本的方法 (http://www.miaoqiyuan.cn/p/one-php)中提到 使用 one.php 将整个项目打包成 一个 php 文件,有网友 让我 整个asp版本的,今天下午抽空写了个 one.asp,使用方式基本一致,这次 增加了路径计算的功能,可以引用不同路径。 举个简单的应用场景,开发一个小的API系统,支持...
View Article