SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

SQL Homework – October 2017 – Sample/Test Database(s)

Last month your homework was to set up your own lab. Now it’s time to put a sample database or two on at least one SQL instance. Microsoft has provided copies of AdventureWorks for years and recently switched over to Wide World Importers.

Download the database backups

 
Then pick your instance(s) (if you have more than one) and restore them.

Simple enough and again, no grade involved. However for bonus points download the sample scripts, unzip them and review them. Really all we are doing here is setting up a place to work and test things.

I also recommend:

  • Keep the backups so you can restore over any changes you have made. Over time, with lots of practicing, making changes etc they get a bit scrambled so it’s easier to just overwrite them.
  • Create a Test database. This will give you a place to create new tables, code, whatever that you don’t want to put in your AW or WWI databases.
  • Don’t be afraid to add a new database to test things like in-memory, filestream etc that require additional filegroups.
  • This is a practice environment and most of what you are creating probably won’t be something you care about saving, but best practices are always a good idea. Regular backups, index maintenance, etc are always a good idea and good practice.

Filed under: Microsoft SQL Server, SQL Homework, SQLServerPedia Syndication Tagged: microsoft sql server, SQL Homework

SQLStudies

My name is Kenneth Fisher and I am Senior DBA for a large (multi-national) insurance company. I have been working with databases for over 20 years starting with Clarion and Foxpro. I’ve been working with SQL Server for 12 years but have only really started “studying” the subject for the last 3. I don’t have any real "specialities" but I enjoy trouble shooting and teaching. Thus far I’ve earned by MCITP Database Administrator 2008, MCTS Database Administrator 2005, and MCTS Database Developer 2008. I’m currently studying for my MCITP Database Developer 2008 and should start in on the 2012 exams next year. My blog is at www.sqlstudies.com.

Comments

Leave a comment on the original post [sqlstudies.com, opens in a new window]

Loading comments...