SSIS and Sql Server Journey

Personal Notes of Sarabjit Singh and Bhavpreet Singh

How to add Sample Database(AdventureWorks2012)

on November 23, 2016

Download the AdventureWorks2012 from below link and copy in to some folder and run the below sql query to include the sample DB

https://sql2012kitdb.codeplex.com/

CREATE DATABASE AdventureWorks2012
ON (FILENAME = ‘D:\AdventureWorks2012_Data.mdf’
)
FOR ATTACH_REBUILD_LOG ;

Advertisements

One response to “How to add Sample Database(AdventureWorks2012)

  1. Sarabjit Singh says:

    CREATE DATABASE AdventureWorks2012
    ON (FILENAME = ‘D:\AdventureWorks2012_Data.mdf’)
    FOR ATTACH_REBUILD_LOG ;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: