Archive for the ‘SQL Server’ Category

Create new User in SQL Server 2005

Create new User in SQL Server 2005

Install SQL Server 2005 in Windows XP

Steps to Install SQL Server 2005 – Standard edition in Windows XP

Case statement in Where Clause – SQL Server – Conditional Where clause

Case statement in Where Clause

Using Case statement in Where Clause in SQl Server. This script is used to create the conditional where clause

Execute dynamic Query in SQL Server

How to execute the dynamic query in microsoft SQL Server 2005.

Difference in “varchar” and “nvarchar” in SQL Server

What is the difference between varchar and nvarchar in MS SQL Server.

Get Foreign Key related details for the Table

Get Foreign Key related details for the Table in SQL Server

Drop Function if exist – SQL Server

SQL

Drop the user define function from database if it exists.

Get the FortNight Start and End date – SQL Server

SQL

Get the Fort night start and end date on the basis of input provided. if date falls in first 15 day then it will give the First Fort night start and end date and if date falls after 15 day then it gives respective start and end date.

Get First Day and Last Day of Week – SQL Server

SQL

Scalar function to get the first Day and Last day of the Week in SQL Server

Get First Day and Last Day of Month – SQL Server

SQL

Get the first day and last day of the month in SQL Server using Scalar functions