Thursday, July 31, 2014

Data Mining Cluster Analysis in SQL Server

Grouping is something we naturally do in our day to day life. We group foods depending on taste, we group friends depending on their different attributes. 

Clustering is an algorithm which finds natural groupings inside your data when these groupings are not obvious. It finds the hidden variable that accurately classifies your data.

Read the article on Clustering here.

Wednesday, July 23, 2014

Cannot show the editor for this task.

I got this error in SSIS when I try to open Execute SQL Task.



Then I tried to open already configured Execute SQL Task in some other SSIS packages. Still the error exists. I was wondering this is an error in SQL Server 2014 so I installed SQL Server 2012 and tried but it was no difference.

So the work around is by clicking F4 and enter the configuration values in the Properties box.


Tuesday, July 22, 2014

Difference Between LEN and DATALENGTH

DATALENGTH - Returns the number of bytes used to represent any expression.

LEN - Returns the number of characters of the specified string expression, excluding trailing blanks


Output is 30, 3.

Important point to remember is is LEN function does not depend on the data type and it is storage mechanism. LEN function total depends on the number of string characters.


Output is 8 and 3.

So DATALENGTH is depends on the storage but not the LEN function.

Encryption, Decisive Factor to lose the WWII

Germany and Japan were gaining momentum to win world war II and concur the world. Some crucial decisions have changed the complexity of the ...