With a SQL Standard licence coming in at around £2850 per core, and Enterprise topping out at £10,925 per core (minimum 4-cores per box), SQL Server is not cheap. Everyone likes a bargain, and free is as good as it gets. There are a multitude of ways to get SQL Server and demo data for free. Here are some of your options: |
||
Express Edition | ||
Microsoft offer a completely free version of SQL Server. It has limited features, but will do well for many environments, including learning how to code. You can install SQL Server Express Edition on a Windows Server or on your PC/laptop and it is ok to use it in production. Download a copy from here:
Express Edition has limited features and scalability. The Features & Requirements links above include an Edition Comparison table for full details. To highlight the trend, these are a few key features and limitations in SQL 2019 Express edition:
|
||
Developer Edition | ||
Another Free Microsoft offering is SQL Server Developer Edition. It is fully featured (same as Enterprise Edition), but is limited by licence to development and test installations only. You can install Enterprise on a Windows Server or on your PC/laptop Note: You can install Developer Edition on Windows 10, but not Enterprise Edition. Download a copy from here: |
||
Microsoft Azure | ||
Microsoft are offering a free SQL server in Azure for up to 12 months. You don't have to worry about installing SQL, hardware or maintaining Service Packs. Microsoft do it all for you in Azure. The free tier SQL Server includes:
Get yourself a free Azure account here: Signup to Azure. Crate a SQL Server instance Just ensure you change the 'Compute + Storage' = 'General Purpose Gen5, 2vCores, 32Gb Storage' option.
The rest of the wizard is fairly self explanatory. Once you have your database created, you can connect to it from SQL Server management Studio (SSMS) installed on your PC/Laptop using the database name and credentials you entered in the wizard. (Install from here) Note: Your database name will be: <Your DB Name>.database.windows.net |
||
Amazon AWS | ||
AWS offers a micro SQL instance free for 12 months. As with Azure, AWS manages the hardware, install and patching of your SQL instance so you can concentrate on your development. The free tier includes:
Get yourself a free AWS account: Sign up to AWS When you create an RDS instance, ensure you select:
|
||
Demo Data - Adventure Works | ||
The good folks at Microsoft have created several versions of their Adventure Works database, available for free download. This is the SQL equivalent of 'Hello World'. Great to get your teeth into some basic data and learn your way around. To use this data, download the .bak file from the links below and restore to your SQL server. |
||
Demo Data - Wide World Importers | ||
If you need a change of scenary, Microsoft have created the Wide World Importers database, available for free download. To use this data, download the .bak file from the link below and restore to your SQL server. |
||
Demo Data - Stack Exchange | ||
StackOverflow.com is a site for developers to share ideas and ask for help. If you're new to SQL Server, go there, you'll love it. The StackOverflow team offered out a dump of anonymized data in .xml format and Microsoft MVP Brent Ozar was kind enough to translate that into a SQL database. The 1Gb version expands to a 10Gb databse. Useful if you need to get your teeth into some larger data for performance tuning. If you need to go even bigger, the 19Gb torrent expands to around a 137Gb database. You can find Brent's original post here. |