T-SQL Tuesday #85: STOP! Restore Time!
I know, I know. That was a bit much. This month’s T-SQL Tuesday is being hosted by Kenneth Fisher ( b | t ). T-SQL Tuesday ( #TSQL2sDAY ) is a blog party founded by Adam Machanic ( b | t ). Each month...
View ArticleGeek Sync Tomorrow: Surviving the Holidays with SQL Server
Tomorrow (December 14, 2016) at 12 PM Eastern I’m giving a webinar on preparing for your SQL Server farm for the holidays. Registration: Geek Sync Surviving the Holidays with SQL Server Here’s what I...
View ArticleNES Classic Edition giveaway! #SQLFamily
I’ve managed to get my hands on a Nintendo NES Classic and I’m going to give it away. The details are as follows: The winner will be chosen with random # generation via Microsoft SQL Server 2016. This...
View ArticleT-SQL Tuesday #85 Part Deux: Backup Myth Restoring Differential Backups
T-SQL Tuesday #85: Backup Myth Restoring Differential Backups Welcome to T-SQL Tuesday #85 being hosted this month by Kenneth Fisher ( blog | @SQLStudent144 ). This month’s topic is “Backup and...
View ArticleT-SQL Tuesday #85 Backup Compression
T-SQL Tuesday time again. First one I’ve taken part in for over a year oops. This time, Kenneth Fisher ( blog | @sqlstudent144 ) is hosting a blog party about backups. So here’s a quick post about...
View ArticleEasier SQL Server Restores using DBATools
If you’ve been reading my blog for a while, you’ll be aware that I have a ‘thing’ about backups and restores (31 days of posts in a row on a topic shows a slight interest!), and I’ve been speaking at...
View ArticleEF Core diagnosis and features with MS SQL Server
This article shows how Entity Framework Core messages can be logged, and compared using the SQL Profiler and also some of the cool new 1.1 features, but not all. All information can be found on the...
View ArticleSQL SERVER Performance Analysis of Backup to Azure
It is second to human nature to compare when given options. When I wrote about the blog, SQL SERVER Playing with Backups and Compression , I did compare some of the space savings one will achieve when...
View ArticleSSIS Package Validation in the Catalog
Built into the SQL Server Integration Services catalog is the ability to run a validation without actually executing the package. Running a package validation in theSSIS catalog performs a high-level...
View ArticleReminder Geek Sync Today!
Today(December 14, 2016) at 12 PM Eastern I’m giving a webinar on preparing for your SQL Server farm for the holidays. Registration: Geek Sync Surviving the Holidays with SQL Server Here’s what I will...
View ArticleUsing Non-default Ports for SQL Server
Last week at SQL Live I gave a talk “Configuring SQL Server like a Microsoft Certified Master”. It’s a sessionTim Chapman ( blog | @chapmandew ) and I built previouslyand I’ve made an effort to keep...
View ArticlePage the Doctor! When Entity Framework Paging Goes Rogue!
Over the past few months, Entity Framework has decided to seemingly go renegade and ruin my days, especially with clients that have been running older versions of SQL Server (pre-2012). Without even...
View ArticleSQL SERVER Discovery Report How to Find Information About Installed Featur ...
Many times, we need to find information about the various features / version of SQL Server installed on a machine. If you ask a DBA, he can provide you information by looking at services and tell what...
View ArticleZabbix监控SQL Server 数据库
原理:通过ODBC连接SQL Server,将SQL语句查询到的数据发送至Zabbix服务器作分析。 配置步骤简述: 1、在zabbix server上安装Freetds、unixODBC、unixODBC-devel使其能够访问SQL Server数据库。 2、配置ODBC访问Sql Server数据库。 3、定制SQL语句 4、在zabbix管理界面添加监控数据库的item。 操作过程:...
View Articlesqlserver中orderby中关于null值处理 sqlservernull值 sqlserver 数据库
sqlserver中orderby中关于null值处理:sqlserver 认为 null 最小。升序排列:null 值默认排在最前。要想排后面,则:order by case when col is null then 1 else 0 end ,col降序排列:null 值默认排在最后。要想排在前面,则:order by case when col is null then 0 else 1...
View ArticleSQL(高级查询) sql sql语句 高级查询 数据库知识
SQL(高级查询)。子查询子查询是一条SELECT语句,但它是嵌套其他SQL语句中的,为的是给该SQL提供数据以支持其执行操作。查看谁的工资高于CLARK?SELECT ename,salFROM emp_swmWHERE sal>( SELECT sal FROM emp_swm WHERE ename='CLARK')查看与CLARK同职位的员工? SELECT ename,job...
View Articlesql查出一张表中重复的所有记录数据 sql sql语句 表中重复记录数据 数据库知识
sql查出一张表中重复的所有记录数据。1、在面试的时候碰到一个 问题,就是让写一张表中有id和name 两个字段,查询出name重复的所有数据,现在列下:select * from xi a where (a.username) in (select username from xi group by username having count(*) > 1)...
View ArticleMicrosoft SQL Server Express, on Windows Server 2012 R2
Microsoft SQL Server is Microsoft’s database server, largely used on windows Server platform. In addition to the database engine, the product includes a large set of features, such as Replication...
View ArticleSolving an SSIS Error Cannot convert between Unicode and non-Unicode
When transferring data from one system to another, there are usually columns with different data types between the source and the destination. In this case of a data warehouse, the source column is an...
View ArticleCHECKDB and Page Restoring from SSMS
Did you know that you can run DBCC CHECKDB (WITH PHYSICAL_ONLY) and issue page restores from SSMS (SQL Server Management Studio). I never, and I probably will never because I rather use TSQL however I...
View Article