You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can upgrade from [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)], [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)], [!INCLUDE[sssql16-md](../../includes/sssql16-md.md)], and [!INCLUDE[sssql17-md](../../includes/sssql17-md.md)]. This article lists the supported upgrade paths from these [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] versions, and the supported edition upgrades for [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)].
25
24
26
-
## Preupgrade Checklist
25
+
## Pre-upgrade Checklist
27
26
28
27
- Before upgrading from one edition of [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] to another, verify that the functionality you are currently using is supported in the edition to which you are moving.
29
28
- Verify supported [hardware and software](../../sql-server/install/hardware-and-software-requirements-for-installing-sql-server-ver15.md).
- Cross-version instances of [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] are not supported. Version numbers of the [!INCLUDE[ssDE](../../includes/ssde-md.md)] components must be the same in an instance of [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)].
38
37
39
-
-[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] is only available for 64-bit platforms. Cross-platform upgrade is not supported. You cannot upgrade a 32-bit instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to native 64-bit using [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Setup. However, you can back up or detach databases from a 32-bit instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], and then restore or attach them to a new instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (64-bit) if the databases are not published in replication. You must re-create any logins and other user objects in master, msdb, and model system databases.
38
+
-[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] is only available for 64-bit platforms. Cross-platform upgrade is not supported. You cannot upgrade a 32-bit instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to native 64-bit using [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Setup. However, you can back up or detach databases from a 32-bit instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], and then restore or attach them to a new instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (64-bit) if the databases are not published in replication. You must re-create any logins and other user objects in `master`, `msdb`, and `model` system databases.
40
39
41
40
- You cannot add new features during the upgrade of your existing instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. After you upgrade an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)], you can add features by using the [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Setup. For more information, see [Add Features to an Instance of SQL Server (Setup)](./add-features-to-an-instance-of-sql-server-setup.md).
The table below lists the supported upgrade scenarios from earlier versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)].
51
+
The following table lists the supported upgrade scenarios from earlier versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] to [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)].
53
52
54
53
|Upgrade from|Supported upgrade path|
55
54
|:------|:------|
@@ -103,24 +102,24 @@ The following tips and tools can help you plan and implement your migration.
103
102
104
103
- Bulk load: Tables can be bulk copied from SQL Server 2008 or SQL Server 2008 R2 to SQL Server 2019.
The following table lists the supported edition upgrade scenarios in [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)].
109
108
110
109
For step-by-step instructions on how to perform an edition upgrade, see [Upgrade to a Different Edition of SQL Server (Setup)](../../database-engine/install-windows/upgrade-to-a-different-edition-of-sql-server-setup.md).
111
110
112
-
|Upgrade From|Upgrade To|
111
+
|**Upgrade From**|**Upgrade To**|
113
112
|------------------|----------------|
114
113
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL and Core)**|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise |
115
-
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Evaluation Enterprise**|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL or Core License) <br/><br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Developer <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Web <br/> <br/> Upgrading from Evaluation (a free edition) to any of the paid editions is supported for stand-alone installations, but is not supported for clustered installations. This limitation does not apply to stand-alone instances installed on a Windows Failover Cluster participating in an availability group. |
114
+
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Evaluation Enterprise**|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL or Core License) <br/><br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Developer <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Web <br/> <br/> Upgrading from Evaluation (a free edition) to any of the paid editions is supported for stand-alone installations, but isn't supported for clustered installations. This limitation does not apply to stand-alone instances installed on a Windows Failover Cluster participating in an availability group. |
116
115
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard**|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL or Core License)|
117
116
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Developer**|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL or Core License) <br/><br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Web <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard|
118
117
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Web|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL or Core License) <br/><br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard|
119
118
|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Express*|[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL or Core License) <br/><br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Developer <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard <br/> <br/> [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Web|
120
119
121
120
Additionally you can also perform an edition upgrade between [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Server+CAL license) and [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Enterprise (Core License):
@@ -137,10 +136,13 @@ For step-by-step instructions on how to perform an edition upgrade, see [Upgrade
137
136
138
137
-[!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Evaluation to [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)] Standard.
139
138
140
-
## See Also
139
+
## See also
141
140
142
-
[Editions and supported features of [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)]](../../sql-server/editions-and-components-of-sql-server-version-15.md)
141
+
-[Editions and supported features of [!INCLUDE[sssql19-md](../../includes/sssql19-md.md)]](../../sql-server/editions-and-components-of-sql-server-version-15.md)
142
+
-[Hardware and software requirements for installing SQL Server](../../sql-server/install/hardware-and-software-requirements-for-installing-sql-server-ver15.md)
143
143
144
-
[Hardware and software requirements for installing SQL Server](../../sql-server/install/hardware-and-software-requirements-for-installing-sql-server-ver15.md)
description: This article provides links to resources that contain upgrade information for instances of different versions of SQL Server.
4
4
ms.custom:
5
5
- intro-quickstart
6
-
ms.date: "07/17/2017"
6
+
ms.date: "01/28/2022"
7
7
ms.prod: sql
8
8
ms.reviewer: ""
9
9
ms.technology: install
10
10
ms.topic: quickstart
11
11
helpviewer_keywords:
12
12
- "upgrading SQL Server"
13
-
ms.assetid: 5064e35b-b70d-4a0b-a9e9-fff04162f9d2
14
13
author: MikeRayMSFT
15
14
ms.author: mikeray
16
15
monikerRange: ">=sql-server-2016"
17
16
---
18
17
# Upgrade SQL Server
19
18
[!INCLUDE [SQL Server -Windows Only](../../includes/applies-to-version/sql-windows-only.md)]
20
19
21
-
You can upgrade instances of [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)], [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)], [!INCLUDE[ss2016](../../includes/sssql16-md.md)], or [!INCLUDE[sssql17](../../includes/sssql17-md.md)] directly to [!INCLUDE[sssql19](../../includes/sssql19-md.md)]. For [!INCLUDE[ssKatmai](../../includes/sskatmai-md.md)], and [!INCLUDE[ssKilimanjaro](../../includes/sskilimanjaro-md.md)], you'll either need to do a side-by-side upgrade, or a migration, to move to [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] as there is no common overlap between a supported mainstream operating system. Before running setup to upgrade, review the following articles about the upgrade process and the release notes.
20
+
You can upgrade instances of [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)], [!INCLUDE[ssSQL14](../../includes/sssql14-md.md)], [!INCLUDE[ss2016](../../includes/sssql16-md.md)], or [!INCLUDE[sssql17](../../includes/sssql17-md.md)] directly to [!INCLUDE[sssql19](../../includes/sssql19-md.md)]. For [!INCLUDE[ssKatmai](../../includes/sskatmai-md.md)], and [!INCLUDE[ssKilimanjaro](../../includes/sskilimanjaro-md.md)], you'll either need to do a side-by-side upgrade, or a migration, to move to [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)] as there's no common overlap between a supported mainstream operating system. Before running setup to upgrade, review the following articles about the upgrade process and the release notes.
22
21
23
-
Check out what's new in each version of the product:
22
+
Check out what's new in each version of the product:
24
23
-[SQL Server 2019 Release Notes](../../sql-server/sql-server-version-15-release-notes.md)
25
24
-[SQL Server 2017 Release Notes](../../sql-server/sql-server-2017-release-notes.md)
26
25
-[SQL Server 2016 Release Notes](../../sql-server/sql-server-2016-release-notes.md)
27
-
28
-
If you're upgrading from an end-of-support version of SQL Server such as SQL Server 2005, 2008, and 2008 R2, see the [end of support options](../../sql-server/end-of-support/sql-server-end-of-life-overview.md).
29
-
30
26
31
-
27
+
Support for SQL Server 2012 will end on July 12, 2022. For new end of support options, see [New options for SQL Server 2012 and Windows Server 2012 End of Support](/lifecycle/announcements/sql-server-2012-windows-server-2012-end-of-support).
28
+
29
+
If you're upgrading from an end-of-support version of SQL Server, such as SQL Server 2005, 2008, and 2008 R2, see the [end of support options](../../sql-server/end-of-support/sql-server-end-of-life-overview.md). For more information, see [SQL Server end of support options](../../sql-server/end-of-support/sql-server-end-of-life-overview.md).
30
+
31
+
32
32
## Upgrade documentation
33
33
34
34
The following articles will help you upgrade components of SQL Server:
@@ -48,13 +48,18 @@ The following articles will help you upgrade components of SQL Server:
48
48
-[Upgrade to a different edition of SQL Server (Setup)](../../database-engine/install-windows/upgrade-to-a-different-edition-of-sql-server-setup.md)
49
49
-[SQL Server end of support options](../../sql-server/end-of-support/sql-server-end-of-life-overview.md)
This article describes how to add new columns to a table in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)].
25
24
26
-
## <aname="BeforeYouBegin"></a> Before You Begin
25
+
## Remarks
27
26
28
-
### <aname="Restrictions"></a> Limitations and Restrictions
27
+
Using the ALTER TABLE statement to add columns to a table automatically adds those columns to the end of the table.
29
28
30
-
Using the ALTER TABLE statement to add columns to a table automatically adds those columns to the end of the table. If you want the columns in a specific order in the table, use [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)]. However, note that this is not a database design best practice. Best practice is to specify the order in which the columns are returned at the application and query level. You should not rely on the use of SELECT * to return all columns in an expected order based on the order in which they are defined in the table. Always specify the columns by name in your queries and applications in the order in which you would like them to appear.
29
+
If you want the columns in a specific order in the table, you must use [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)]. Though it isn't recommended, for more information on reordering tables, see [Change Column Order in a Table](change-column-order-in-a-table.md).
31
30
32
-
### <aname="Security"></a> Security
31
+
To query existing columns, use the [sys.columns](../system-catalog-views/sys-columns-transact-sql.md) object catalog view.
33
32
34
-
####<aname="Permissions"></a> Permissions
33
+
## <aname="Permissions"></a> Permissions
35
34
36
35
Requires ALTER permission on the table.
37
36
38
-
## <aname="SSMSProcedure"></a> Using SQL Server Management Studio
37
+
## <aname="SSMSProcedure"></a> Use SQL Server Management Studio
39
38
40
-
### To insert columns into a table with Table Designer
39
+
### Insert columns into a table with Table Designer
41
40
42
41
1. In **Object Explorer**, right-click the table to which you want to add columns and choose **Design**.
43
-
2.Click in the first blank cell in the **Column Name** column.
42
+
2.Select the first blank cell in the **Column Name** column.
44
43
3. Type the column name in the cell. The column name is a required value.
45
44
4. Press the TAB key to go to the **Data Type** cell and select a data type from the dropdown.
46
45
@@ -54,16 +53,26 @@ Requires ALTER permission on the table.
54
53
> [!NOTE]
55
54
> The default values for your column properties are added when you create a new column, but you can change them in the **Column Properties** tab.
56
55
57
-
6. When you are finished adding columns, from the **File** menu, choose **Save**_table name_.
56
+
6. When you're finished adding columns, from the **File** menu, choose **Save**_table name_.
58
57
59
-
## <aname="TsqlProcedure"></a> Using Transact-SQL
58
+
## <aname="TsqlProcedure"></a> Use Transact-SQL
60
59
61
-
### To insert columns into a table
60
+
### Add columns to a table
62
61
63
62
The following example adds two columns to the table `dbo.doc_exa`.
0 commit comments