Reading SQL Server Backup file headers directly using PowerShell.
As part of my work on the Backup/Restore portions of DBATools I was interested to see if I could avoid the overhead of having to parse files using SQL Server to find out if they were backup files, and...
View ArticleInvoke-SqlCmd and error results
Don’t trust Invoke-SqlCmd and error results I love to call Invoke-sqlcmd from powershell but one must beware of the risk of being burned when it comes to trust in error handling. I wish Microsoft could...
View ArticleData loading into a Clustered ColumnStore Index
Introduction With the release of SQL Server 2016 Service Pack 1 the In-Memory ColumnStore technology is now also available in the Standard, Web and even Express and LocalDB Editions. Besides the...
View ArticleApache Zeppelin 0.6.2 for SQL Server now with correct Syntax Highlighting
After a little bit of work I’ve managed to have syntax highlight for T-SQL in Apache Zeppelin 0.6.2 working correctly. The tricky part is that the Ace Editor already supports T-SQL specific syntax...
View ArticleSQL SERVER CLONEDATABASE: Generate Statistics and Schema Only Copy of the Dat...
I have been writing about how some of the interesting enhancements made with SQL Server 2016 SP1 have caught my attention. This one is a killer feature that can be of great value when you are trying to...
View ArticleNew Functionality in the Microsoft SQL Server Management Pack
By: Lora Johnson Blue Medora is excited to announce the addition of new functionality to its Microsoft SQL Server Management Pack, designed to give you a cohesive view of your Microsoft SQL Server...
View Article使用Navicat Premium将SQLServer数据导出为sql格式
其实要将mssql数据库的数据导出为.sql格式的文件很简单,微软的SQL Server 2008已经拥有了这一功能具体可以查看这篇文章。今天想在这里利用一款强大的数据库管理工具远程导出SQL脚本,操作异常简单。Navicat Premium下载地址 Navicat for SQL Server 32位 Navicat for SQL Server 64位使用Navicat...
View Articlesql server 2008 忘记sa密码的解决方法
相信很多人都跟小编一样不管是什么账号,如果很久不用就会忘记登录密码,像数据库SQL Server2008也一样有用户名和登录密码,下面小编就分享一下如何找回或修改SQL Server2008密码前提是你有服务器网络管理员管理权限1、首先以超级管理员administrator账户登录到电脑,然后打开据库SQL...
View ArticlePointing a SQL Server Linked Server to Different Data Sources
By:Ranga Babu || Related Tips:More >Linked Servers Problem Most of us use SQL Server Linked Servers in our environment to fetch data from remote databases. The linked server names may be different...
View ArticleData Sampling in SQL Server Integration Services
By:Nat Sundar || Related Tips:More > Integration Services Development Problem When developingSSIS packages, sometimes it is easier to work with a sample dataset instead of the entire dataset. In...
View ArticleSave Time Writing T-SQL With Templates and Code Snippets
Time-savers are most important when you are busy that seems obvious. The unfortunate irony is that when you are busy you cannot take the time to create them. The creation of time-savers drops to low...
View ArticleHow to Establish a Simple Connection from a C# Program to SQL Server
This is a basic example on how to establish a connection to SQL Server from a C# program. Use the System.Data.SqlClientnamespace in the top section of your code as below: using System.Data.SqlClient;...
View ArticleSQL Server and Hyper-threading
This post is about the CPU utilisationin the Standard, Web and Express editions of SQL Server because there is limitation for them. Licensing is given at the end of this post. Physical environments...
View ArticleImplementing Fuzzy Sets in SQL Server, Part 6: Fuzzy Numbers and Linguistic...
By Steve Bolton ………… I’ve written several amateur tutorial series on this blog in order to more quickly absorb difficult data mining, statistical and machine learning topics, while hopefully helping...
View ArticleSQLServer数据库从高版本降级到低版本实例详解
SQLServer数据库从高版本降级到低版本实例详解由于目前还广泛使用着SQLServer2000,很多公司又想使用新的SQLServer,从而直接【分离/附加】或者【备份/还原】数据库,在不同版本之间存放。往往就会遇到版本不兼容的问题。前几天遇到了从我本机2008R2上备份的一个数据库还原到2008上面时报错:从运行版本10.50.2500(2008R2是10.50)和10.00.1600(200...
View ArticleUbuntu 下安装SQL Server教程
微软刚宣布了下一代 SQL Server 的公开预览,Canonical 也正式宣布此预览版本可用于 Ubuntu 系统。无论是在内部部署还是在云端使用,SQL Server on Ubuntu 都为开发人员和组织提供了更为自由的选择。SQL Server 所允许的开发语言和数据类型,也成为可以向市场提供最创新和灵活的平台之一。在下一代 SQL Server 中,微软为 linux 和...
View ArticleSQL SERVER Testing Database Performance with tSQLt and SQLQueryStress
I guess, it is no secret that testing plays a critical part in development of any software product. The more rigorous testing is, the better the final product will be. In this blog post we will be...
View ArticleSQL Server 2016 has reduced the NoSQL JSON “advantage” over SQL Server
SQL Server 2016 has reduced the NoSQL JSON “advantage” over SQL Server Microsoft has finally implement support for JSON data in SQL Server 2016 and in Azure SQL Database. In a previous blog post I JSON...
View ArticleSQL Server vNext Improves SSAS
SQL Server vNext Improves SSAS Written by Kay Ewbank Tuesday, 20 December 2016 The public CTP 1.1 of SQL Server vNext on windows is now available, with improvements to Analysis Services. SQL Server...
View ArticleT-SQL IIF
Recently, I’ve decided to try to catch up on some things that were “snuck” into SQL Server while I wasn’t paying attention. Thefirst post in this series was about TRY_CONVERT() (which is awesome) and...
View Article