Quantcast
Channel: Sql Server – SqlHints.com
Browsing all 130 articles
Browse latest View live

Myths and Facts about In-Memory OLTP (a.k.a. Hekaton) – Sql Server 2014

This is the second article in the series of the articles on the topic “In-Memory OLTP (a.k.a.HEKATON a.k.a. eXtreme Transaction Processing) and its Internals – Sql Server 2014”. Below is the list of...

View Article


Image may be NSFW.
Clik here to view.

Working with In-Memory OLTP (a.k.a. Hekaton) enabled Databases, Memory...

In this Article we will go-over on the following topics with extensive list of examples: How To Create In-Memory OLTP (a.k.a. Hekaton) Enabled Database and it’s Internals. CHECKPOINT Files And It’s...

View Article


Image may be NSFW.
Clik here to view.

Exception Handling in Sql Server

This is the first article in the series of articles on Exception Handling in Sql Server. Below is the complete list of articles in this series. Part   I: Exception Handling Basics Part  II: TRY…CATCH...

View Article

Image may be NSFW.
Clik here to view.

TRY…CATCH In Sql Server

This is the second article in the series of articles on Exception Handling in Sql Server. Below is the list of other articles in this series. Part   I: Exception Handling Basics – MUST Read Article...

View Article

Exception Handling Template for Stored Procedure – In Sql Server

This is the fourth article in the series of articles on Exception Handling in Sql Server. Below is the complete list of articles in this series. Part   I: Exception Handling Basics – MUST Read Article...

View Article


Image may be NSFW.
Clik here to view.

Why the prefix N is used for literal strings in Sql Server?

The Prefix N conveys to the Sql Server that following literal string is of Unicode type. While storing Unicode (i.e. Japanese, Korean, Chinese etc) Characters in NChar, NVarchar or NText columns or...

View Article

Image may be NSFW.
Clik here to view.

Joins In Sql Server

Sql Server Tutorial Lesson 6: JOINS in Sql Server with Examples Join facilitates the retrieval of information from multiple tables. In Sql server we have following 6 types of Joins: INNER JOIN LEFT...

View Article

Image may be NSFW.
Clik here to view.

How to get Day, Month, Year and Time Part from DateTime in Sql Server

Many a times we need to get Day, Month, Year and Time Part from DateTime in Sql Server. In this article we will see how we can get these parts of the DateTime in Sql Server. You may like to read the...

View Article


Image may be NSFW.
Clik here to view.

Querying Data Using SELECT In Sql Server

Sql Server Tutorial Lesson 5: Querying Data Using SELECT SELECT is one of the basic construct of Sql Server, which basically facilitates the retrieval of information from Tables. This lesson covers the...

View Article


Difference Between Temporary Table and Table Variable in Sql Server

This is the first article in the series of articles on Difference Between Temporary Table and Table Variable. This article lists out difference between Temporary Table and Table Variable. Below is the...

View Article

Image may be NSFW.
Clik here to view.

Comparative Analysis of Temporary Table and Table Variable based on the...

This is the third article in the series of articles on Difference Between Temporary Table and Table Variable. This article provides the Comparative Analysis of Temporary Table and Table Variable based...

View Article

Image may be NSFW.
Clik here to view.

How to get Time, Hour, Minute, Second and Millisecond Part from DateTime in...

Many a times we may need to get the Time, Hour, Minute, Second and Millisecond Part from DateTime in Sql Server. In this article we will see how we can get these parts of the DateTime in Sql Server....

View Article

Image may be NSFW.
Clik here to view.

How to get Quarterly Data in Sql Server

This article demonstrate how to get quarterly data in Sql Server in different formats as shown in the below image. Here Sales table data is presented in two different quarterly aggregated sales data...

View Article


Image may be NSFW.
Clik here to view.

How to get Monthly Data in Sql Server

This article demonstrate how to get Monthly data in Sql Server in different formats as shown in the below image. Here Sales table data is presented in two different Monthly aggregated sales data...

View Article

Image may be NSFW.
Clik here to view.

PIVOT and UNPIVOT in Sql Server

This article provides introduction to the PIVOT and UNPIVOT relational operators introduced in Sql Server 2005 with extensive list of examples. PIVOT PIVOT is one of the New relational operator...

View Article


Image may be NSFW.
Clik here to view.

Dynamic PIVOT in Sql Server

In the Previous Post PIVOT and UNPIVOT in Sql Server explained how PIVOT relational operator can be used to transform columns distinct values as Columns in the result set by mentioning all the distinct...

View Article

Image may be NSFW.
Clik here to view.

How to find all the tables with name like a given pattern in Sql Server?

Many a times I come across a scenario where I will be remembering only part of the table name and need to find the complete table name. Traversing through hundreds of tables in the database and finding...

View Article


Image may be NSFW.
Clik here to view.

How to check if a Stored Procedure exists in Sql Server

Many a times we come across a scenario where we need to execute some code based on whether a Stored Procedure exists or not. There are different ways of identifying the Stored Procedure existence in...

View Article

Image may be NSFW.
Clik here to view.

How to find whether a Table is referenced by the Foreign Key constraint...

We can use script like below to identify whether a Table is referenced by another Tables foreign key constraints in Sql Server: ALSO READ: How to find all dependencies of a table in Sql Server? SELECT...

View Article

Image may be NSFW.
Clik here to view.

How to add Days, Weeks, Months, Quarters or Years to a Date in Sql Server

In this article we will discuss on How to add Days, Weeks, Months, Quarters or Years to a Date in Sql Server? You may also like to read the following other popular articles on Date and Time in Sql...

View Article
Browsing all 130 articles
Browse latest View live