xSQL Schema Compare SDK for SQL Server version 12
GenerateCheckAbsenceStatement Property


Gets or sets the value that indicates whether a check for absence should be performed before creating an object.
Syntax
'Declaration
 
<ComparisonOptionDescriptorAttribute(ComparisonOptionTypeEnum.ScriptingOption)>
Public Property GenerateCheckAbsenceStatement As System.Boolean
[ComparisonOptionDescriptorAttribute(ComparisonOptionTypeEnum.ScriptingOption)]
public System.bool GenerateCheckAbsenceStatement {get; set;}
[ComparisonOptionDescriptorAttribute(ComparisonOptionTypeEnum.ScriptingOption)]
public: __property System.bool get_GenerateCheckAbsenceStatement();
public: __property void set_GenerateCheckAbsenceStatement( 
   System.bool value
);
Remarks
This option add a "if not exists() " statement to the script fragment that creates an object. It is supported only for the following database entities:

The default value for this option is false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ComparisonOptions Class
ComparisonOptions Members

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback