Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / database / SQL-Server / SQL-Server-2008R2

SQL-Server-2008R2

SQL-Server-2008R2

Great Reads

by Nirosh
This tutorial is designed for .NET programmers who need to understand ‘Nido’ framework and its application.
by Md. Marufuzzaman
A simple tip/trick to get rows on n’th maximum number from a table
by Md. Marufuzzaman
A simple example of Microsoft SQL Server Pad String
by Mahsa Hassankashi
This is the simplest tutorial on AngularJS and Repository Pattern for developing professional MVC applications. It includes a source code about practical permission management project.

Latest Articles

by Nirosh
This tutorial is designed for .NET programmers who need to understand ‘Nido’ framework and its application.
by Md. Marufuzzaman
A simple tip/trick to get rows on n’th maximum number from a table
by Md. Marufuzzaman
A simple example of Microsoft SQL Server Pad String
by Mahsa Hassankashi
This is the simplest tutorial on AngularJS and Repository Pattern for developing professional MVC applications. It includes a source code about practical permission management project.

All Articles

Sort by Score

SQL-Server-2008R2 

by Md. Marufuzzaman
A simple tip/trick to get rows on n’th maximum number from a table
by Md. Marufuzzaman
A simple example of Microsoft SQL Server Pad String
by nithyananthams
Different options to get Identity from SQL Server and how OUTPUT clause helped me to get the accurate Identity value compare with other options.
by SatyLepide
By analyzing log-in attempts on SQL server, admins can build the complete picture out of the sequence of events that led to compliance failure or unauthorized access.
by Harsh Aggarwal - India
It's about making back up of database in SQL server 2008 and above you can get rid of making bak file manually.
by NaibedyaKar
How to check the query locking the table and to unlock it
by saurav ray
Article determines how to bind a crystal report with a virtual database
by hlonihloksDJ
Building DynamicTVP
by SMPS LLC
With this tip, you can show a map in your WinForm application with the Google Maps API v3.
by SREENATH GANGA
How to change the DBservername ,DBName ,password,Userid etc of a crystal report at runtime
by Anusheel Kamle
How to connect Visio 2007 to SQL Server 2008 R2 for reverse engineering
by Sibeesh KV
Convert CellSet to HTML table
by markkang
This tip describes how to generate insert SQL statement from the records in an existing table in SQL server database
by Prakash Lekhak
We will create a Table and Stored Procedure in Sql Server 2008R2 and data will be inserted and retrieved by using Asp.net using C#
by Diluka Wittahachchige
Creating SQL Server database project use in Visual Studio 2012 and maintain versions use in TFS
by coded007
Designing reports with Dynamics CRM
by Indresh_Prajapati
This tip will help beginners to implement CRUD operations in ASP.NET MVC 4 with scripting language as KnockOut and Database as MS SQL 2008R2.
by Indresh_Prajapati
This tip will help beginners to implement CRUD operations in ASP.NET MVC 5 using WebAPI 2 with scripting language as AngularJS and Database as MS SQL 2008R2.
by Prakash Lekhak
Dynamic SQL to get the list Table names
by Sums Mohs Eds
A brief discussion of when to use cursors and when to use sets.
by Vijaykumar Vadnal
We will discuss about how we can combine Dapper.NET and DapperExtensions to configure DAL to execute normal queries as well as Stored Procedures.
by Muhammad Hassan Tariq
Glimpse Extension for server side debugging and diagnostic information of ASP.NET applications
by Shashank S Chandel
Demonstration application using MVC SignalR and Entity framework - Part I
by Member 10872251
Cascading DropDownList in ASP.NET MVC
by Chetan Naithani
Transforming dynamic row-level data into columns
by Member 10262330
Dynamic restore SQL Server
by Johnny L Washington
Capture data changes in history table
by DiponRoy
How to handle database scheme changes with normal SQL scripts, without migration in Entity Framework code first
by John C Rayan
An insight into date and time types in SQL SERVER -
by OriginalGriff
Sometimes, you want to extract the filename (with or without the extension) from the full path of a file. It's easy in C# and so forth - just use the Path.GetFileName method. But what if you want it in SQL?
by shijo joseph
A simple and fast CSV reader which you can directly use against Oracle and SQL Server databases or for any direct implementation
by Mihir.D.Shah
Simple Queries to find row count of all tables in a MS-SQL Database
by Jitendra Ku. Sahoo
In this article we will discuss about fill factor and its effect on query performance.
by Arvind Singh Baghel
I show a SQL query which finds the size of database mdf and ldf file in SQL Server.
by Md. Marufuzzaman
Get accurate age by date using MS SQL Server
by Ed Nutting
How to fix LocalDB / SQL Server: "Cannot open database "XYZ" requested by the login. The login failed. Login failed for user ABC"
by SRS(The Coder)
This tip gives an explanation with example on how to get output parameter value from stored procedure using Entity Framework in ASP.Net
by banitabisht
Tip to get comma separated string for a column in SQL query using XML path method
by Ankur .K. Vishwakarma
This tip shows you a T/SQL function to split a string concatenated by a delimiter.
by Arora_Ankit
This tip will provide you with an idea about basic things that you can use to get better performance from query.
by yash soman
The error occurs when we try to create a new Microsoft SQL Server Database File (SqlClient) using Visual Studio IDE
by Md. Marufuzzaman
This tip shows you an easy way to split Microsoft SQL Server table row data.
by Aqeeel
Identifying and deleting duplicate records from SQL Server Table
by TheCardProject.co.uk
Quickly set up the ability to serve up several pages and record which was served in SQL Server
by Arvind Singh Baghel
Import CSV or txt File Into SQL Server Using Bulk Insert.
by Rajendra D. Patel
How to insert data using stored procedure in ASP.NET
by furytrader
Yes, Virginia, You Can Do This All With One Simple SQL Statement
by Bohdan Stupak
This tip shows some primary issue which puts a serious limitation on SQL Server MONEY data type.
by madagaga
Converting MSSQL database to MySQL
by Wajahat Aftab
How to load data from live market stock feed in a grid view
by Thinira
In this tip, we discuss how to pass report parameters from web page to Telerik report programmatically.
by Member 8826598
Performance Tuning of DML Operation Insert in different scenario
by Sifiso W Ndlovu
This tip illustrates a workaround to SQL Server pivoting on variable character data types.
by DiponRoy
How to post rowversion or timestamp of MsSQL using jquery
by LalithGallage
This powershell script is you to monitor windows servers’ free hard disk and populate it to sharepoint custom list.
by kunal r somani
Regarding progress bar
by Sandeep Khairha
Query that returns list of all Stored Procedures
by Gene R. Browning
Generate random dates (and times if you like) for your test data environment.
by Pavith Goonathilake
RDLC Report Grouping with Page Break for each Group Type, Table Header repeat for each page and Report Totals
by gayani dassa
Read & Insert Data Using Stored Procedures
by george bolovan
Read data from the next row
by Gaurav_Chaudhary
This tip is a brief introduction to Recursive CTE in SQL Server and how to implement it.
by Prakash Lekhak
Create an ER diagram for complex database
by Avinash Narnaware
Rename file using MS sql server using xp_cmdshell rename, while file name contain space. Get All file Details in MS Sqlserver 2008 using xp_getfiledetails.
by Bimaln
Solved the Permission issue when I hosted my ASP.NET application on IIS7
by anki.mathur
Restart hanged SQL Server scheduled job
by madhusudhanReddy
Running the SQL Script File
by Jason Parms
Lightweight Directory Access Protocol (LDAP) Injection
by Luca Astolfi
User defined procedure for make an HTML table from T-SQL Select statment
by Bimaln
Describe about the SOAP message in WCF with example.
by Bohdan Stupak
This tip will cover several interesting issues of SQL
by Prasad CM
How to fix this error.
by Dathuraj Pasarge
Know whether your databases are backed up successfully in the last 24 hours or not !!!
by Atul_Kapoor
Perform SQL Server Instance health check simultaneously on more than one server using Powershell
by PIEBALDconsult
A stored procedure I use to find duplicate records in tables and views.
by DiponRoy
How to do string split and join in SQL Server
by DiponRoy
A utility query to find table generations in SQL Server relational database
by Mohamad Cheaito
SQL Server: Query to get the date of first Monday of September
by Math08avan
SQL Server Integration Services - How to read a text file
by santosh poojari
The idea is to source SSRS report datasource with web api output. The datasource can take XML input datasource hence we can allow web api to give us desired XML output dataset in defined format or schema. Once we have that it is easy to sourced or housed it into SSRS reports -RDL or Client RDLC in .
by Schrödter
How to write data to SQLSERVER varbinary(MAX) columns in C++ using ADO
by DotNetForAll
The tip describes how the Table Valued Parameters(TVP) are used in SQl server and how they can be utilized using C# code.
by Jitendra Ku. Sahoo
Below is one template to handle error in SQL server.
by XyedBilal
Copying files from source to destination using master..xp_fileexist and master..xp_cmdshell
by Sushil Pandit
Process for backward migration of code from TFS 2012 to TFS 2010
by King Fisher
To search data in multiple columns using 'IN' clause
by sukeshchand
Unexpected SQL Interview Questions
by Paul M Simpson
Expanding a string by inserting alternating single spaces between characters
by Member 10872251
Two way binding using JavaScript
by Thiago Gaidzinski
UniDAC allows you to connect your cross-platform application directly with many database's types.
by Pedram_Niloufari
How to create an unlimited category list table in database and how to read category list
by Naresh Patidar
Insert, update and delete operations using stored procedure and DataAdapter in C#
by IAndreev93
Standard functions usage, and my own functions... Allowing you simpler process tables... Date and time... Strings...
by grantliu
Utilize NLog.net in a Service-oriented architecture
by Aqeeel
Implementing security in SQL Server by only allowing TCP/IP Network Protocol and changing default TCP port
by Colm Hoban
A command line utility to script out all jobs from an instance to be used to transfer jobs to another server/environment or to be deposited in source control.
by sandeep12jain
WCF Restful Service Authentication without SSL Certificate
by Oussama_Kahoul
Introduction to WPF technology and the MVVM design pattern
by rakesh1503
Writeback and writethrough using C# with SQL Server 2008 SSAS.