Active3 years, 7 months ago
I need to install
AdventureWorksLT2012
database but I don't need the .exe
installer instead I need the script file so I can copy & paste it to SSMS 2012 and run it from it so it creates it. Is there a way to download this script from a website?
After the file is attached, you will have the AdventureWorks database installed on your SQL Server instance. For more information on attaching database files, see Attach a database. Install to Azure SQL Database. If you do not yet have a SQL Server in Azure, navigate to the Azure portal and create a new SQL Database. In the process of create a. Mar 21, 2014 Thanks Mose J. Worked in two seconds, just as you suggested! Needless to add, but the Adventureworks.mdf file must be in the DATA folder of your particular database server folder. Also the log file that came with must be in the folder too. Mixing log files for the same mdf from a different source throws an exception.
marc_s606k137137 gold badges11591159 silver badges12921292 bronze badges
pyykke dasherpyykke dasher
closed as off-topic by Raj, Ingo Karkat, Jaco, gotqn, Infinite RecursionFeb 29 '16 at 9:08
This question appears to be off-topic. The users who voted to close gave this specific reason:
- 'Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – Raj, Ingo Karkat, Jaco, gotqn, Infinite Recursion
1 Answer
Go to the Microsoft SQL Server sample database page on Codeplex and under
Other Downloads
(on the right) you can find That page then show a lot of downloads - the one you want probably is:
- AdventureWorks 2012 LT Script (third from the bottom)
Adventure Works 2012 Free Download
606k137137 gold badges11591159 silver badges12921292 bronze badges