Category Archives: MSSQL

Most Useful websites for developers

Email Marketing –

Time Tracking system –

Web Designing and hosting – ,

Issue Tracking system  –



Posted by on September 18, 2012 in java, MSSQL, mysql, Other


Tags: , , , ,

How to Create Sample Database in MSSQL with Sample Data

This is very useful for application testing.

First you have to download the relevant sample databases from

Then copy the relevant AdventureWorks2008R2_Data.mdf file in to your machine where the MSSQL is installed. then go to MSSQL Editor and run the following query

CREATE DATABASE AdventureWorks2012
ON (FILENAME = 'D:\AdventureWorks2012_Data.mdf')

Don’t delete the above AdventureWorks2008R2_Data.mdf because this will be your database in MSSQL

Leave a comment

Posted by on September 14, 2012 in MSSQL


Tags: , , ,

%d bloggers like this: