Skip to content

Commit 7e2575b

Browse files
committed
Added **Check for object existence** as an option to the article
1 parent 13e20d6 commit 7e2575b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/ssms/scripting/generate-and-publish-scripts-wizard.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ms.date: 04/07/2020
4545
monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
4646
---
4747

48-
# Generate and Publish Scripts Wizard
48+
# Generate and Publish Scripts Wizard
4949

5050
[!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)]
5151

@@ -153,6 +153,8 @@ Use this page to specify how you want this wizard to generate scripts. Many diff
153153

154154
- **Append to file** - When **True**, this script is added to the bottom of an existing script, specified on the **Set Scripting Options** page. When **False**, the new script overwrites a previous script. The default is **False**.
155155

156+
- **Check for object existence** - When **True**, adds the existence check before generating the create statement for you SQL Objects. For example: tables, views, functions or stored procedures. The CREATE statement is wrapped in an IF statement. If you know your target is clean, the script is a lot cleaner. If you do NOT expect the objects to exists on the target, you get an error. The default is **False**.
157+
156158
- **Continue scripting on error** - When **False**, scripting stops when an error occurs. When **True**, scripting continues. The default is **False**.
157159

158160
- **Convert UDDTs to base types** - When **True**, user-defined data types (UDDT) are converted into the underlying base data types that were used to create them. Use **True** when the UDDT does not exist in the database where the script runs. When **False**, UDDTs are used. The default is **False**.

0 commit comments

Comments
 (0)