SQL Server for Beginners Part 1 - Installing SQL Server

SQL Server is the best data source for PowerApps. If you want to use an on-premise SQL Server but don't know where to start, this post is for you. In this series of posts, we'll walk through:

  • How to install SQL Server (the database engine).
  • How to install Management Studio (the tool for creating and managing databases).
  • How to install the on-premises gateway, and how to connect a PowerApp to your database.

Downloading and Choosing an Edition

The first step is to download SQL Server from here:


There are 2 free editions you can choose: Developer or SQL Express. The difference between the two are:

  • SQL Server Developer Edition - This is a fully featured free edition for development or training purposes. The main limitation is that the license does not permit the use of the database in production.
  • SQL Server Express edition - This is free and CAN be used in production. However, it has various limitations including a storage limit of 10 GB, and memory limit of 1GB.
For the purpose of this post, we'll choose the Express edition.

Downloading and Choosing an Edition

Once you've downloaded the installer, you can run the setup. The steps are mostly intuitive, so I'll highlight the main ones.

In the feature selection dialog, 'Database Engine Services' is the only feature that you need to select for a working installation.


In the 'Instance Configuration' dialog, I recommend that you keep the named instance of 'SQLExpress'. Naming an instance enables us to install multiple versions/editions of SQL Server on a single machine (eg SQL Express/SQL 2012/SQL 2016).


With SQL Server, there are two authentication options:  Windows authentication and Mixed Mode. Windows authentication uses the Windows Account to authenticate to SQL. Mixed Mode provides the option to create logins and passwords within SQL Server. I highly recommend Mixed Mode because it provides us with an additional authentication option, should the on-premises gateway fail to connect (we'll cover this in the next post).


We can accept the default options for the remaining dialogs and at the end of this process, you'll have a working instance of SQL Server.

Final Steps

SQL Server runs as a Windows Service and you can manage it through the Administrative Tools > 'Services' part of Windows. If SQL Server doesn't appear to work, here is the first place you should check.


The next step is to setup a database and to create tables in your database. To do this, you'll need to install SQL Server Management Studio and we'll look at how to do this in the next post.

Related posts

Data - How to remove trailing comma all rows in a table
February 20, 2025
Data - How to find the common rows from 3 or more collections
October 06, 2024
Data - How to show the distinct rows from 2 data sources or collections
February 26, 2024
Data - How to implement circular rotational date sorting
February 21, 2024
Bug - What to do when the data section of the Power Apps Maker portal doesn't work
June 18, 2023
Data - Combine columns from separate tables into a single table
October 13, 2022
Formula - Transposing/converting rows to columns- an almost impossible task?
September 23, 2021
Data - How to rename field names in a record
July 14, 2021
Data - How to hide duplicate rows in a gallery / show distinct multiple columns in a gallery
July 09, 2021
Data - Retrieving news/forum/blog articles with RSS
June 26, 2021
Data - How to sort by partial numbers in a text field
June 23, 2021
Data - How to return the last record from a table
June 19, 2021
Data - How to create bulk test/dummy records with random values
June 18, 2021
Data - 3 things you should know before using the MySQL or PostgreSQL connectors
May 11, 2021
Data - A walkthrough of how to migrate the data source of an app from Excel to Sharepoint
April 26, 2021
Data - How to enforce unique values (or prevent duplicate values) in one or more columns
April 19, 2021
Data - How much mobile data does Power Apps consume? What ways can we minimise this?
March 28, 2021
Data - How to save and retrieve Google calendar entries
March 14, 2021
Data - How to save and retrieve Google contacts
March 10, 2021
SQL - Caution! This is how users can hack shared SQL connections
January 23, 2021
SharePoint – 2 Mistakes to avoid when importing Excel data
January 10, 2021
SQL - Don't let this DateTime bug catch you out!
January 05, 2021
Settings - What's the purpose of the "Explicit Column Selection" Setting?
January 04, 2021
SQL Server for Beginners Part 3 - Installing On-Premises Gateway
January 24, 2019
SQL Server for Beginners Part 2 - Installing Management Studio
January 14, 2019
Searching data–What you need to know about case sensitivity
December 27, 2018
Images - How to create images that can change depending on data
November 09, 2018
Excel - Reasons NOT to use Excel as a data source
September 25, 2018
SharePoint - What you need to know about Filtering Data
September 16, 2018
Formulas - Generating Row Numbers
April 05, 2018