Morning all,
I'm starting out with SQL Server and am looking to get involveed with the Adventure Works set of databases. However, I'm not getting much clear cut information, or I'm just not understanding it. I have a dev environment that has SQl Server 2008 R2 in it and all I want to do is import the standard AdventureWorks DB that's relvant to my edition and get started.
I've looked at a few research articles and watched some YouTuve videos that all hint at a self installing MSI from CodePlex Mecca but my understanding is that these have now been replaced with MDF / LDF files that we have to install manually
http://msftdbprodsamples.codeplex.com/
With this in mind, I've downloaded the AdventureWorks2008R2_data from here as advised here. My erros thus far: -
1 - Trying to attach the database via the GUI gives me this error message
2- Running the SQL Script gives me an erorr message: -
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'FOR'."
As such, any help is welcome.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem.