SQL (String property)

This property provides access to the DDL SQL statement that will be used when forward-engineering the object on which it is found. This property is both read-only and prefetch – do not attempt to store a value in it.

Tagged Values

Name Value
Data_TypeString
Long_Id{E7AB3CC0-47AD-4A10-8972-C0FB869EE7CB}+40202f68
tag_Display_Name_ResourceSQL
tag_Is_Physicaltrue
tag_Is_Prefetchtrue
tag_Is_Read_Onlytrue
tag_Is_Read_Only_In_UItrue
tag_Release_Added7.3.0
tag_Uses_ERwin_Macrostrue

Valid values for object SQLServer_Database

ValueClass NameDisplay Name
0WebWeb
1BusinessBusiness
11GB1GB
55GB5GB
1010GB10GB
2020GB20GB
3030GB30GB
4040GB40GB
5050GB50GB

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AlterAlter
2ControlControl
3View_DefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3ExecuteExecute
4ReferencesReferences
5Take_OwnershipTake Ownership
6View_DefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3ReferencesReferences
4Take_OwnershipTake Ownership
5View_DefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3ReferencesReferences
4Take_OwnershipTake Ownership
5View_DefinitionView Definition

Valid values for object Entity

ValueClass NameDisplay Name
0DisableDisable
1EnableEnable

Valid values for object

ValueClass NameDisplay Name
0SQLSQL
1AssemblyAssembly

Valid values for object Domain

ValueClass NameDisplay Name
0SQLSQL
1AssemblyAssembly

Valid values for object Stored_Procedure

ValueClass NameDisplay Name
0SQLSQL
1AssemblyAssembly

Valid values for object Trigger

ValueClass NameDisplay Name
0SQLSQL
1AssemblyAssembly

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AlterAlter
2Alter_Any_Application_RoleAlter Any Application Role
3Alter_Any_AssemblyAlter Any Assembly
4Alter_Any_Asymmetric_KeyAlter Any Asymmetric Key
5Alter_Any_CertificateAlter Any Certificate
6Alter_Any_ContractAlter Any Contract
7Alter_Any_Database_DDL_TriggerAlter Any Database DDL Trigger
8Alter_Any_Database_Event_NotificationAlter Any Database Event Notification
9Alter_Any_DataspaceAlter Any Dataspace
10Alter_Any_Fulltext_CatalogAlter Any Fulltext Catalog
11Alter_Any_Message_TypeAlter Any Message Type
12Alter_Any_Remote_Service_BindingAlter Any Remote Service Binding
13Alter_Any_RoleAlter Any Role
14Alter_Any_RouteAlter Any Route
15Alter_Any_SchemaAlter Any Schema
16Alter_Any_ServiceAlter Any Service
17Alter_Any_Symmetric_KeyAlter Any Symmetric Key
18Alter_Any_UserAlter Any User
19AuthenticateAuthenticate
20Backup_DatabaseBackup Database
21Backup_LogBackup Log
22CheckpointCheckpoint
23ConnectConnect
24Connect_ReplicationConnect Replication
25ControlControl
26Create_AggregateCreate Aggregate
27Create_AssemblyCreate Assembly
28Create_Asymmetric_KeyCreate Asymmetric Key
29Create_CertificateCreate Certificate
30Create_ContractCreate Contract
31Create_DatabaseCreate Database
32Create_Database_DDL_Event_NotificationCreate Database DDL Event Notification
33Alter_Any_Database_AuditAlter Any Database Audit
34Create_DefaultCreate Default
35Create_Fulltext_CatalogCreate Fulltext Catalog
36Create_FunctionCreate Function
37Create_Message_TypeCreate Message Type
38Create_ProcedureCreate Procedure
39Create_QueueCreate Queue
40Create_Remote_Service_BindingCreate Remote Service Binding
41Create_RoleCreate Role
42Create_RouteCreate Route
43Create_RuleCreate Rule
44Create_SchemaCreate Schema
45Create_ServiceCreate Service
46Create_Symmetric_KeyCreate Symmetric Key
47Create_SynonymCreate Synonym
48Create_TableCreate Table
49Create_TypeCreate Type
50Create_ViewCreate View
51Create_XMLSchema_CollectionCreate XML Schema Collection
52DeleteDelete
53ExecuteExecute
54InsertInsert
55ReferencesReferences
56SelectSelect
57ShowplanShowplan
58Subscribe_Query_NotificationsSubscribe Query Notifications
59Take_OwnershipTake Ownership
60UpdateUpdate
61View_Database_StateView Database State
62View_DefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3Take_OwnershipTake Ownership
4View_DefinitionView Definition

Valid values for object Function

ValueClass NameDisplay Name
0CallerExecute As Caller
1SelfExecute As Self
2OwnerExecute As Owner
3User_IdExecute As User

Valid values for object Stored_Procedure

ValueClass NameDisplay Name
0CallerExecute As Caller
1SelfExecute As Self
2OwnerExecute As Owner
3User_IdExecute As User

Valid values for object Trigger

ValueClass NameDisplay Name
0CallerExecute As Caller
1SelfExecute As Self
2OwnerExecute As Owner
3User_IdExecute As User
4LoginExecute As Login

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AlterAlter
2ControlControl
3ReferencesReferences
4Take_OwnershipTake Ownership
5View_DefinitionView Definition
0AlterAlter
1ControlControl
2ReferencesReferences
3TakeOwnershipTake Ownership
4ViewDefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3ExecuteExecute
4ReferencesReferences
5SelectSelect
6TakeOwnershipTake Ownership
7ViewDefinitionView Definition
8InsertInsert
9DeleteDelete
10UpdateUpdate

Valid values for object Function

ValueClass NameDisplay Name
0ScalarScalar Function
1InlineTableInline Table Function
2MultistatementTableMultistatement Table Function
3ScalarReturnAssemblyScalar Return Assembly Function
4TableReturnAssemblyTable Return Assembly Function

Valid values for object Entity

ValueClass NameDisplay Name
0DisableDisable
1TableTable
2AutoAuto

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AlterAlter
2ControlControl
3ImpersonateImpersonate
4View_DefinitionView Definition

Valid values for object User_Id

ValueClass NameDisplay Name
0LoginLogin
1CertificateCertificate
2AsymmetricKeyAsymmetric Key
3NoLoginNo Login

Valid values for object Function

ValueClass NameDisplay Name
0CalledCalled on null input
1ReturnsNullReturns Null on null input

Valid values for object SQLServer_Partition_Function

ValueClass NameDisplay Name
0RangeRange

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AdministerBulkOperationsAdminister Bulk Operations
2AlterAlter
3AlterAnyApplicationRoleAlter Any Application Role
4AlterAnyConnectionAlter Any Connection
5AlterAnyCredentialAlter Any Credential
6AlterAnyDatabaseAlter Any Database
7AlterAnyEndpointAlter Any Endpoint
8AlterAnyEventNotificationAlter Any Event Notification
9AlterAnyLinkedServerAlter Any Linked Server
10AlterAnyLoginAlter Any Login
11AlterAssemblyAlter Assembly
12AlterAssemetricKeyAlter Assemetric Key
13AlterCertificateAlter Certificate
14AlterContractAlter Contract
15AlterDatabaseDDLTriggerAlter Database DDL Trigger
16AlterDatabaseEventNotificationAlter Database Event Notification
17AlterDataspaceAlter Dataspace
18AlterFulltextCatalogAlter Fulltext Catalog
19AlterMessageTypeAlter Message Type
20AlterRemoteServiceBindingAlter Remote Service Binding
21AlterResourcesAlter Resources
22AlterRoleAlter Role
23AlterRouteAlter Route
24AlterSchemaAlter Schema
25AlterServerStateAlter Server State
26AlterServiceAlter Service
27AlterSettingsAlter Settings
28AlterSymmetricKeyAlter Symmetric Key
29AlterTraceAlter Trace
30AlterUserAlter User
31AuthenticateAuthenticate
32AuthenticateServerAuthenticate Server
33BackupDatabaseBackup Database
34BackupLogBackup Log
35CheckpointCheckpoint
36ConnectConnect
37ConnectReplicationConnect Replication
38ConnectSQLConnect SQL
39ControlControl
40ControlServerControl Server
41CreateCreate
42CreateAggregateCreate Aggregate
43CreateApplicationRoleCreate Application Role
44CreateAssemblyCreate Assembly
45CreateAsymmetricKeyCreate Asymmetric Key
46CreateCertificateCreate Certificate
47CreateContractCreate Contract
48CreateDatabaseCreate Database
49CreateDatabaseEventNotificationCreate Database Event Notification
50CreateDefaultCreate Default
51CreateEndpointCreate Endpoint
52CreateFulltextCatalogCreate Fulltext Catalog
53CreateFunctionCreate Function
54CreateMessageTypeCreate Message Type
55CreateProcedureCreate Procedure
56CreateQueueCreate Queue
57CreateRemoteServiceBindingCreate Remote Service Binding
58CreateRoleCreate Role
59CreateRouteCreate Route
60CreateRuleCreate Rule
61CreateSchemaCreate Schema
62CreateServiceCreate Service
63CreateSymmetricKeyCreate Symmetric Key
64CreateSynonymCreate Synonym
65CreateTableCreate Table
66CreateTraceCreate Trace
67CreateTypeCreate Type
68CreateUserCreate User
69CreateViewCreate View
70CreateXMLSchemaCollectionCreate XML Schema Collection
71DeleteDelete
72DropDrop
73ExecuteExecute
74ExternalAccessAssemblyExternal Access Assembly
75ImpersonateImpersonate
76InsertInsert
77ReceiveReceive
78ReferencesReferences
79SelectSelect
80ShowplanShowplan
81ShutdownShutdown
82SubscribeQueryNotificationSubscribe Query Notification
83TakeOwnershipTake Ownership
84UnsafeAssemblyUnsafe Assembly
85UpdateUpdate
86ViewAnyDatabaseView Any Database
87ViewAnyDefinitionView Any Definition
88ViewDatabaseStateView Database State
89ViewDefinitionView Definition
90ViewServerStateView Server State
91CreateAnyDatabaseCreate Any Database
92CreateDDLEventNotificationCreate DDL Event Notification
93CreateTraceEventNotificationCreate Trace Event Notification
0AllAll
1AlterAlter
2ControlControl
3DeleteDelete
4ExecuteExecute
5InsertInsert
6ReferencesReferences
7SelectSelect
8Take_OwnershipTake Ownership
9UpdateUpdate
10View_DefinitionView Definition
11ViewChangeTrackingView Change Tracking
12CreateSequenceCreate Sequence
0AlterAlter
1ControlControl
0AllAll
1Administer_Bulk_OperationsAdminister Bulk Operations
2Alter_Any_ConnectionAlter Any Connection
3Alter_Any_CredentialAlter Any Credential
4Alter_Any_DatabaseAlter Any Database
5Alter_Any_EndpointAlter Any Endpoint
6Alter_Any_Event_NotificationAlter Any Event Notification
7Alter_Any_Linked_ServerAlter Any Linked Server
8Alter_Any_LoginAlter Any Login
9Alter_ResourcesAlter Resources
10Alter_Server_StateAlter Server State
11Alter_SettingsAlter Settings
12Alter_TraceAlter Trace
13Authenticate_ServerAuthenticate Server
14Connect_SQLConnect SQL
15Control_ServerControl Server
16Create_Any_DatabaseCreate Any Database
17Create_DDLEvent_NotificationCreate DDL Event Notification
18Create_EndpointCreate Endpoint
19Create_Trace_Event_NotificationCreate Trace Event Notification
20External_Access_AssemblyExternal Access Assembly
21ShutdownShutdown
22Unsafe_AssemblyUnsafe Assembly
23View_Any_DatabaseView Any Database
24View_Any_DefinitionView Any Definition
25View_Server_StateView Server State
26AlterAnyServerAuditAlter Any Server Audit
27Alter_Any_Availibility_GroupAlter Any Availability Group
28Alter_Any_Event_SessionAlter Any Event Session
29Alter_Any_Server_RoleAlter Any Server Role
30Create_Availibility_GroupCreate Availability Group
31Create_Server_RoleCreate Server Role
0AllAll
1AlterAlter
2ControlControl
3ExecuteExecute
4ReferencesReferences
5SelectSelect
6TakeOwnershipTake Ownership
7ViewDefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3ReferencesReferences
4Take_OwnershipTake Ownership
5View_DefinitionView Definition
0AllAll
1ControlControl
2DeleteDelete
3ExecuteExecute
4InsertInsert
5SelectSelect
6TakeOwnershipTake Ownership
7UpdateUpdate
8ViewDefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3DeleteDelete
4InsertInsert
5ReferencesReferences
6SelectSelect
7Take_OwnershipTake Ownership
8UpdateUpdate
9View_DefinitionView Definition
10ViewChangeTrackingView Change Tracking

Valid values for object Entity

ValueClass NameDisplay Name
0OffOff
1OnOn

Valid values for object Trigger

ValueClass NameDisplay Name
0AllServerAll Server
1DatabaseDatabase

Valid values for object Entity

ValueClass NameDisplay Name
0PermanentPermanent
1SQLServerGlobalTemporaryGlobal Temporary
2SQLServerLocalTemporaryLocal Temporary

Valid values for object File

ValueClass NameDisplay Name
0SQLServerAssemblyAssembly
1SQLServerKeyKey
2SQLServerExecutableExecutable
3SQLServerKeyManagementKey Management

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1ControlControl
2ReferencesReferences
3Take_OwnershipTake Ownership
4View_DefinitionView Definition
5ExecuteExecute

Valid values for object

ValueClass NameDisplay Name
0AlterAlter
1ControlControl
2ImpersonateImpersonate
3View_DefinitionView Definition

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AlterAlter
2ControlControl
3ImpersonateImpersonate
4ViewDefinitionView Definition
0AllAll
1AlterAlter
2ControlControl
3DeleteDelete
4InsertInsert
5ReferencesReferences
6SelectSelect
7TakeOwnershipTake Ownership
8UpdateUpdate
9ViewDefinitionView Definition

Valid values for object Abstract_Domain

ValueClass NameDisplay Name
0ContentContent
1DocumentDocument

Valid values for object Permission

ValueClass NameDisplay Name
0AllAll
1AlterAlter
2ControlControl
3ExecuteExecute
4ReferencesReferences
5Take_OwnershipTake Ownership
6View_DefinitionView Definition

Valid values for object

ValueClass NameDisplay Name
0ModifiesSQLDataModifies SQL Data
1ReadsSQLDataReads SQL Data
2ContainsSQLDataContains SQL Data
3NoSQLNo SQL