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
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,3 +19,12 @@ The second file is a Powershell script, [CopyDatabase.ps1](https://github.com/Fo
19
19
* Adds support User Defined Table Types.
20
20
* Orders Functions, Procedures, and Views by create date to attempt to create parent objects before dependent objects.
21
21
* Increased max characters in powershell script to 150,000 characters to accommodate large scripts.
22
+
23
+
# Prerequisites
24
+
If you are using the powershell script to create a database copy you will need:
25
+
* The sqlserver Powershell module installed. You can find out more about it [here](https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-2017).
26
+
* SQL Bulk Copy Tool (BCP) installed on the machine running the Powershell script. You can find out more [here](https://docs.microsoft.com/en-us/sql/tools/bcp-utility?view=sql-server-2017)
27
+
28
+
## Assumptions
29
+
* The source and target databases are SQL Server 2017. This script has not been tested againist an older version of SQL Server.
30
+
* The scripts does not create any empty database but expect a target already exists.
0 commit comments