SQL SERVER Simple Example of BCP Command Line Utility
I was recently asked if I know the fastest way to export data from SQL Server table. This was very interesting question personally, as I have not run any such tests in the past. However, everytimewhen...
View ArticleHow to collected inventory for SQL Server using Microsoft Assessment and...
Hi friends, We need to collect inventory for database migration as well as platform to set up environment for migration, development and testing. Is there any tool from Microsoft to achieve this...
View ArticleDynamically Generate SQL Server BCP Format Files
By:Jeffrey Yao || Related Tips:More >Import and Export Problem I frequently need to import data from some CSV files into my various databases on different systems using BCP.exe or BULK Insert ....
View ArticleHow to find the location of the Sql Server Error Log File
Sql Server Error Log is very helpful to diagnose and troubleshoot problems. Error log files contain user-defined events and certain system events, which are very helpful for troubleshooting. In this...
View ArticleVS Code working with SQL Server
VS Codeeditor works great and specially when using it in cross-platform environment. So, I decided to try using it connect to one of my SQL Server instance. To configure VS Code editor is simple. Make...
View Article[原]ORACLE 通过gateway组件建立dblink连接sqlserver数据库的实战详细过程
项目背景: Oracle 数据库 11.2.0.1 版本, linuxcentos 6.5 系统,单实例 Sqlserver 2008 版本, windows2008 系统,单实例 1 、下载地址: ( 1 ) oracle 官网...
View ArticleIntelligence from Data
There is an incredible amount of data in the world, and all that data is changing the way industries work. That’s the opening to a keynote talk from Jim McHugh at the O’Reilly Artificial Intelligence...
View ArticleHow to Introduce Time Delay Between Two T-SQL Commands? Interview Question of...
Question:How to Introduce Time Delay Between Two TSQL Commands? Answer:Every time when I hear this question, I am very confident this question is from a developer. This is because I have observed...
View ArticleAn observation about Unicode in SQL Server Management Studio
A week or so ago I read a blog post and tweet about using an emoji in SQL Server. This inspired me to use the ninja cat emoji for my demo database name and something interesting was discovered. How to...
View Article#0388 SQL Server SSIS Lookup transformations are case-sensitive
I have been working with SQL Server Integration Services (SSIS) recently.In many ways, SSIS is counter-intuitive if you have been working with the database engine for long (more than a decade in my...
View ArticleAdvanced KPI Configurations in SQL Server Reporting Services 2016
By:Koen Verbeeck || Related Tips: > Reporting Services KPI Problem SQL Server Reporting Services 2016 (SSRS) introduces the concept of mobile reports and KPI, followed by Microsoft's acquisition of...
View ArticleProfiler equivalent templates for Extended Events Sessions in SQL Server 2016
By:Rajendra Gupta || Related Tips:More >Extended Events Problem In previous tips SQL Server 2016 extended events detailed backup information , SQL Server restore steps with extended events and SQL...
View ArticleReading and Searching a Large Error Log File
Sometimes the SQL Server ERRORLOG file can become very large. This happens typically when you have turned on auditing for successful and failed logins. Additionally if you don’t restart SQL Server very...
View ArticleSentryOne : The Evolution of a Company and a Platform
It's been not quite a month since our last big announcement , the decision to take Plan Explorer Pro free, and here we go again with perhaps even bigger news: We are unifying our product set into new,...
View ArticleSQL Server Restore Database from Backup
[Total: 1 Average: 5/5] SQL Server restore database from backup how to do it? This is one of the crucial questions related to SQL Server. In this article, we are going to show you two ways how you can...
View ArticleSQL Server Timeouts During Backups and CHECKDB
So you’re hosting your SQL Server in the cloud say Amazon EC2, Azure VM, or Google Compute Engine and you’ve noticed that when you’re running a backup or a DBCC CHECKDB, you suffer from extreme...
View ArticleA Page Split in SQL Server the Good, the Nasty and the Smart
Page Splits 101 In SQL Server, a page split occurs on index pages when a row is required to be on a certain page (because of the index key), and there isn’t enough room on the page for it. This can be...
View ArticleMOSL Memory Optimised Scripts Library
SQL Server 2014 was one amazing release, which had a very interesting codename “Hekaton”, meaning that the principal news in that release were the Memory-Optimised tables (aka In-Memory, aka In-Memory...
View ArticleSQL SERVER 2016 Creating Clustered ColumnStore with InMemory OLTP Tables
I have been writing a lot of my findings with SQL Server 2016 in the recent past. This is also being something I have been investing big time keeping my session at SQLPASS coming in the October...
View ArticleComparison of the VARCHAR(max) and VARCHAR(n) SQL Server Data Types
Problem You are developing a SQL Server application and at some point in your code you receive the error "String or binary data would be truncated". After digging into the code you discovered that this...
View Article