@@ -34,7 +34,13 @@ func (s *AlterServiceStatement) statement() {}
3434
3535// AlterCertificateStatement represents an ALTER CERTIFICATE statement.
3636type AlterCertificateStatement struct {
37- Name * Identifier `json:"Name,omitempty"`
37+ Name * Identifier `json:"Name,omitempty"`
38+ Kind string `json:"Kind,omitempty"` // RemovePrivateKey, WithActiveForBeginDialog, WithPrivateKey, RemoveAttestedOption, AttestedBy
39+ ActiveForBeginDialog string `json:"ActiveForBeginDialog,omitempty"` // NotSet, On, Off
40+ PrivateKeyPath * StringLiteral `json:"PrivateKeyPath,omitempty"`
41+ DecryptionPassword * StringLiteral `json:"DecryptionPassword,omitempty"`
42+ EncryptionPassword * StringLiteral `json:"EncryptionPassword,omitempty"`
43+ AttestedBy * StringLiteral `json:"AttestedBy,omitempty"`
3844}
3945
4046func (s * AlterCertificateStatement ) node () {}
@@ -86,12 +92,20 @@ func (s *AlterPartitionFunctionStatement) statement() {}
8692
8793// AlterFulltextCatalogStatement represents an ALTER FULLTEXT CATALOG statement.
8894type AlterFulltextCatalogStatement struct {
89- Name * Identifier `json:"Name,omitempty"`
95+ Name * Identifier `json:"Name,omitempty"`
96+ Action string `json:"Action,omitempty"` // Rebuild, Reorganize, AsDefault
97+ Options []* OnOffFullTextCatalogOption `json:"Options,omitempty"`
9098}
9199
92100func (s * AlterFulltextCatalogStatement ) node () {}
93101func (s * AlterFulltextCatalogStatement ) statement () {}
94102
103+ // OnOffFullTextCatalogOption represents an option for ALTER FULLTEXT CATALOG
104+ type OnOffFullTextCatalogOption struct {
105+ OptionKind string `json:"OptionKind,omitempty"` // AccentSensitivity
106+ OptionState string `json:"OptionState,omitempty"` // On, Off
107+ }
108+
95109// AlterFulltextIndexStatement represents an ALTER FULLTEXT INDEX statement.
96110type AlterFulltextIndexStatement struct {
97111 OnName * SchemaObjectName `json:"OnName,omitempty"`
@@ -117,3 +131,14 @@ type AlterServiceMasterKeyStatement struct {
117131
118132func (s * AlterServiceMasterKeyStatement ) node () {}
119133func (s * AlterServiceMasterKeyStatement ) statement () {}
134+
135+ // RenameEntityStatement represents a RENAME statement (Azure SQL DW/Synapse).
136+ type RenameEntityStatement struct {
137+ RenameEntityType string `json:"RenameEntityType,omitempty"` // Object, Database
138+ SeparatorType string `json:"SeparatorType,omitempty"` // DoubleColon (only when :: is used)
139+ OldName * SchemaObjectName `json:"OldName,omitempty"`
140+ NewName * Identifier `json:"NewName,omitempty"`
141+ }
142+
143+ func (s * RenameEntityStatement ) node () {}
144+ func (s * RenameEntityStatement ) statement () {}
0 commit comments