Quantcast
Channel: Sql Server – SqlHints.com
Browsing latest articles
Browse All 130 View Live

Image may be NSFW.
Clik here to view.

How to get Day of Year from date in Sql Server

Many a times we come across a scenario where we may need to get Day of Year from Date in Sql Server. In this article we will see how we can get Day of Year from Date in Sql Server. Approach 1: Using...

View Article


How to get the Length of a String in Sql Server?

In Sql Server we can use the LEN() function to get the length of a string. This function returns the number of characters in a string except the trailing spaces, but it includes the leading spaces....

View Article


Image may be NSFW.
Clik here to view.

Indexes in Sql Server – Part I

If you need your query to run faster, then you must know about the indexes. In this series of articles on Indexes, I will walk you through Sql Server Indexes with examples and explain how Sql Server...

View Article
Browsing latest articles
Browse All 130 View Live