Archive for the ‘SQL Server’ Category

“Update From” Statement in SQL Server

Example to demonstrate the “Update From” Statement in SQL Server. This example can be used in scenarios where developer wants to update the Table with the help of Inner Join.

What is ODBC and OLEDB – Interview Question

This articles explains in detail description of ODBC and OLEDB component of Microsoft and its Usage

Difference in ADO and ADO.Net – Interview Question

Basic comparison between ADO and ADO.Net component in .Net Framework

Use of OPENXML in SQL Server

In SQL Server, OpenXML is very powerful method for the XML data manipulation. This article shows that how to use the OpenXML for XML string.

Manually attach database in SQL Server

Download sample database of SQL server and Manually attach database in SQL Server – AdventureWorksDB

Convert rows into comma separated values column – SQL Server

Convert rows into comma separated values column – SQL Server

Get Login Session count, Session Mode, User Name, Machine name in SQL Server

Get Login Session count, Session Mode, User Name, Machine name in SQL Server

SQL Server Pivot Table Example

Example and tutorial of using PIVOT in SQL Server

Between Clause problem in Date comparison – SQL Server

SQL Server Date Comparison Tips : Never user Between clause with DateTime in SQL Server

Get Table information (Column Name, Data Type) in SQL Server

Get Table information like Column Name, Data Type, Character length, Default Values etc in SQL Server