Dinesh's Blog :::: Being Compiled ::::

Saturday, March 25, 2017

Loading Data Script for Snowflake type Date Dimension

›
Update: If you need the script for the same with financial year elements, read the new post . Date dimension is the most common dimensio...
Saturday, March 18, 2017

SQL Server Backup Expiry Date Setting

›
I would say, this is the most confusing property in the Microsoft SQL Server. Most misunderstand it and most do not know how it works. Alt...
Wednesday, March 15, 2017

Cannot change the SQL Server Tempdb log file size during the installation

›
Every SQL Server database has two type of files added; Data file and Log file and same goes for system databases as well. You can change t...
Tuesday, March 14, 2017

Which protocol has been used for my SQL Server connection?

›
SQL Server uses 3 protocols to make the communication between client and the server. Initially there were 4 protocols but now it supports ...
Wednesday, March 8, 2017

Adding a Hash column using HASHBYTES based on all columns to all tables

›
We use either Checksum or Hashbytes  for generating a value for finding changes of records when need to transfer records from one source t...
Tuesday, March 7, 2017

How to get the total row count of all SQL Server tables

›
I had a requirement for getting the record count of all tables in one of client databases that had many tables with over 10 millions recor...
Monday, March 6, 2017

Creating HDInsight Hadoop Cluster with Integration Services (SSIS) Azure HDInsight Create Cluster Task

›
I have written two posts on HDInsight + SSIS based on Azure Feature Pack and they speak about how to creating a HDInsight Cluster and proc...
Sunday, March 5, 2017

Table Value Function or Stored Procedure - SQL Server Brain Basher of the Week #067

›
Let's talk about a very common scenario that you do with all solutions. If you need to implement a business logic using a database obj...
Saturday, March 4, 2017

Get all SQL Server tables that have IDENTITY enabled

›
Here is a useful script. If you need to find out tables that have Identity property enabled, you can simply query the sys.tables  Catalog ...
Friday, March 3, 2017

SQL Server View does not show newly added columns

›
Few months back, this was experienced by one of my clients and I was asked the reason for this. Although I wanted to make a post on it, I ...
Thursday, March 2, 2017

Speeding up INSERTs to Columnstore index by bypassing the Deltastore

›
Columnstore index is designed for retrieving large number of records much faster with aggregations and grouping. With SQL Server 2016, we ...
Wednesday, March 1, 2017

SQL Server Licensing for High Availability

›
Licensing is always complex and sometime we cannot figure out the number of licenses we have to buy for the production. It is always bette...
Tuesday, February 28, 2017

CHECK constraints accepts values that evaluate to UNKNOWN

›
Few days back, I wrote a post titled as  SQL Server Default and Rule objects - Should not I use them now? that discussed two objects that...
Monday, February 27, 2017

NULL values consume storage in SQL Server Tables?

›
While we were discussing on data types to be used and null-able columns, a question was raised, asking whether the space is used for NULLs...
Sunday, February 26, 2017

Azure SQL Database or SQL Server on Azure Virtual Machine - SQL Server Brain Basher of the Week #066

›
Here is a modern interview question on SQL Server. In addition to general questions on administration and maintenance, Azure based questio...
Saturday, February 25, 2017

SQL Server Default and Rule objects - Should not I use them now?

›
In order to make sure that the database contains high quality data, we ensure data integrity with our data that refers to the consistency ...
Friday, February 24, 2017

How to hide SysStartTime and SysEndEtime columns in Temporal Tables

›
Temporal table was introduced with SQL Server 2016 and it is designed to capture and store changes of data in tables. In other words, simi...
Thursday, February 23, 2017

SQL Server Date, Datetime and Datetime2 - What should I use when I get the value as a string?

›
When we have to store a datatime value (or date), in most cases, application accepts the value as a datetime and send the value to SQL Ser...
Wednesday, February 22, 2017

How to change the default Fill Factor value of SQL Server instance

›
Fill Factor is a setting that uses with Indexes for determining how much free space remains on each leaf-level page for future operations ...
Tuesday, February 21, 2017

SQL Server Sequence suddenly starts with -2147483648

›
Have you faced this? Assume that you have created a Sequence object for generating values sequentially for tables which data type is set a...
Monday, February 20, 2017

Can we access the SQL Server temporary table created in different database?

›
Temporary tables are nothing new and we have been using this for long time. There are two types of temporary tables; Local that starts wit...
Sunday, February 19, 2017

Changing Schema of SQL Server objects

›
I had a requirement today to change the schema of set of tables to new schema but I did not find a direct method to change the schema of a...
Thursday, February 16, 2017

Creating multiple administrative accounts in Azure SQL Database Server

›
You know that we can create multiple administrator accounts in SQL Server if it is a on-premises instance or an instance configured in a V...
‹
›
Home
View web version

About Me

My photo
Dinesh Priyankara
Colombo, Sri Lanka
Dinesh Priyankara (MSc IT) is an MVP – Data Platform (Microsoft Most Valuable Professional) in Sri Lanka with 16 years’ experience in various aspects of database technologies including business intelligence. He has done many local and foreign business intelligence implementations and has worked as a subject matter expert on various database and business intelligence related projects. He is the Founder/Principal Architect of dinesQL (Pvt) Ltd and he consults, teaches and runs training programs on data related solutions and subjects.
View my complete profile
Powered by Blogger.