In this article, I will show you how to implement custom paging in SQL servre 2008. I used ROW_NUMBER() in where clause to achieve ms sql paging.
In this article, I will show you how much space used/unused by the all tables in SQL server database using SQL Query.
In this article I will show you how to create Sql Server Stored procedure like, parameter implemented for it. Here I used nullable parameter (IsNull) and search the product using Like keyword.
You can identify the SQL server database version and SQL server Editon of installed product in PC/server by using the following SQL script.
In this article, I will explain how to compare two dates and gets number of days using Datediff in SQL server.
To get the SQL connection string from entity framework using DbConetext edmx file. In this example I will show you with example.
In this article, I describe How to use NULLIF in sql server. As we knows nullif clause used to check the value is null or not. If the value is null then we define some default value.
In this article, I describe How to modify or insert into already existing table value using by another table.This is achieved by a select statement.
In this article, I describe How to copy or insert one table value to another table.This is achieved by a select statement.
In this article we will discuss, How to create while loop SQL server We will be using Employee table. Below example we need to insert 1000 products to a item table using while loop.