This is 46th episode of the memory lane. Here is the list of selected articles of SQLAuthority.com across all these years. Instead of just listing all the articles I have selected a few of my most favorite articles and have listed them here with additional notes below it. Let me know which one of the following is your favorite article from memory lane. My favorite article is about Scrum and SQL Reboot.
User Defined Function – Get Number of Days in Month
A straight to script blog post where I find the number of days in month.
Start Stop Restart SQL Server From Command Prompt
Very frequently I use following command prompt script to start and stop a default instance of SQL Server. Our network admin loves these commands as this is very easy.
Frequency of SQL Server Reboot and Restart
This is a very interesting question. I will keep the answer of this question very simple. First of all there is no scientific research or white paper I can backup my results with. The answer contains part simple observation and part experience. There is no need to reboot SQL Server. Once it is on it is ON!
Scrum: Agile Software Development for Project Management
Scrum is organized around the following roles:
Difference Between EXEC and EXECUTE vs EXEC() – Use EXEC/EXECUTE for SP always
Using EXEC or EXECUTE is good practice as it always executes the stored procedure, when not using EXEC can confuse SQL SERVER to misinterpret commands and may create errors.
Creating Primary Key, Foreign Key and Default Constraint
Primary key, Foreign Key and Default constraint are the 3 main constraints that need to be considered while creating tables or even after that. It seems very easy to apply these constraints but still we have some confusions and problems while implementing it. So I tried to write about these constraints that can be created or added at different levels and in different ways or methods.
SharePoint Stop Working After Changing Server (Computer) Name
When you change the physical server name the SharePoint is already connected to the SQL instance of the old computer name (OldServerName/SQLInstance) and on changing the name the SharePoint will not able to connect the SQL Server as now the SQL Server instance will run on new computer name (NewServerName/SQLInstance).
Steps To Create A Custom WebPart – Deploy It SharePoint Site
SharePoint does not allow custom coding for any of the webpart. It is possible to create a webpart in Visual Studio and integrate it with SharePoint. The process to create a webpart in .NET framework and make it work in SharePoint often fails due to lack of guidance on this subject on the internet.
Difference between SQL Server Express and MySQL
Both SQL Server express and MySQL are two of the Relational Database Systems (RDBMS) available today. Both are freely available, and meant for running smaller or embedded databases, yet there are also significant differences between them.
Plan Caching and Schema Change – An Interesting Observation
As per the white paper, “Schema change” is defined as follows:
Find Row Count in Table – Find Largest Table in Database – Part 2
Last Year I wrote articles on the subject SQL SERVER – Find Row Count in Table – Find Largest Table in Database – T-SQL. It is very good to see excellent participation there. In my script I had not taken care of table schema. SQL Server Expert Ameena has modified the same script to include the schema. Here is the new modified script.
Find Automatically Created Statistics – T-SQL
Earlier, I wrote about my experience at an organization here: SQL SERVER – Plan Cache – Retrieve and Remove – A Simple Script. This blog post briefly narrates another experience I had at the same organization.
What are Wait Types, Wait Stats and its Importance
As per BOL, there are three types of wait types, namely:
To check the wait types for any server, just run the following simple statistics:
You can get the Wait Stats and identify which of the Wait Stats is causing the issue that troubles you.
Disabled Index and Index Levels and B-Tree
This blog post tries to answer a very important question – What will be the status of the B-Tree structure when the index is disabled?
In the following script, the following operations are to be done:
I have put up a quick guide here where I am writing all the 14 new functions linking them to my blog post as well Book On-Line for a quick reference.
|Date and time functions|
I have personally bookmarked this post for my future reference.
Unable to DELETE Project in Data Quality Projects (DQS)
Here is the problem. I am not able to delete the project which I have created earlier. I am able to open it and play with it but the delete option is disabled and grayed out (see attached image). Now I believe there is nothing wrong with this project as it was just a test project. Would you please write to my manager that it is not harmful to leave that project there as it is? It is also not using any resources. I think he will believe you.”
Configuring Interactive Cleansing Suggestion Min Score for Suggestions in Data Quality Services (DQS) – Sensitivity of Suggestion
Would you please tell me how to increase the numbers of suggestion? I do understand this may not be preferable solution in many case but all the business cases go on it depends. There are cases when the high sensitivity required and there are cases when higher sensitivities are not required. I would like to seek your help here.
Why Do We Need Data Quality Services – Importance and Significance of Data Quality Services (DQS)
In a database, these sorts of anomalies are incredibly important. Databases are often used by multiple people who rely on this data to be true and accurate, so data quality is key. That is why the improved SQL Server features Master Data Management talks about Data Quality Services. This service has the ability to recognize and flag anomalies like out of range numbers and similarities between data. This allows a human brain with its pattern recognition abilities to double-check and ensure that P. Dave is the same as Pinal Dave.
Why Do We Need Master Data Management – Importance and Significance of Master Data Management (MDM)
Let me paint a picture of everyday life for you. Let’s say you and your wife both have address books for your groups of friends. There is definitely overlap between them, so that you both have the addresses for your mutual friends, and there are addresses that only you know, and some only she knows. They also might be organized differently. You might list your friend under “J” for “Joe” or even under “W” for “Work,” while she might list him under “S” for “Joe Smith” or under your name because he is your friend. If you happened to trade, neither of you would be able to find anything!
Core Concepts – Elasticity, Scalability and ACID Properties – Exploring NuoDB an Elastically Scalable Database System
The goal of this article is to answer following simple questions
Grouping by Multiple Columns to Single Column as A String
One of the most common questions I receive in email is how to group multiple column data in comma separate values in a single row grouping by another column.
Reference: Pinal Dave (http://blog.sqlauthority.com)