Versions in this module Expand all Collapse all v0 v0.5.2 Jan 27, 2026 v0.5.1 Jan 27, 2026 v0.5.0 Jan 27, 2026 v0.0.1 Dec 3, 2025 Changes in this version + type AlterActionType int + const AlterAddColumn + const AlterAddConstraint + const AlterAlterColumn + const AlterCheckConstraint + const AlterDisableTrigger + const AlterDropColumn + const AlterDropConstraint + const AlterEnableTrigger + const AlterNoCheckConstraint + const AlterRebuild + const AlterRenameColumn + const AlterSetOption + const AlterSwitch + type AlterApplicationRoleStatement struct + Name string + NewName string + Password string + Schema string + Token token.Token + func (a *AlterApplicationRoleStatement) String() string + func (a *AlterApplicationRoleStatement) TokenLiteral() string + type AlterAssemblyStatement struct + FromBinary string + FromPath string + Name string + PermissionSet string + Token token.Token + func (aa *AlterAssemblyStatement) String() string + func (aa *AlterAssemblyStatement) TokenLiteral() string + type AlterAvailabilityGroupStatement struct + Action string + Databases []string + Name string + Replicas []*AvailabilityReplica + Token token.Token + func (aag *AlterAvailabilityGroupStatement) String() string + func (aag *AlterAvailabilityGroupStatement) TokenLiteral() string + type AlterDatabaseStatement struct + Name *Identifier + Options string + Token token.Token + func (ad *AlterDatabaseStatement) String() string + func (ad *AlterDatabaseStatement) TokenLiteral() string + type AlterFulltextIndexStatement struct + Action string + Columns []*FulltextColumn + TableName *QualifiedIdentifier + Token token.Token + func (afi *AlterFulltextIndexStatement) String() string + func (afi *AlterFulltextIndexStatement) TokenLiteral() string + type AlterFunctionStatement struct + AsReturn Expression + Body *BeginEndBlock + Name *QualifiedIdentifier + Options []string + Parameters []*ParameterDef + ReturnType *DataType + ReturnsTable bool + TableDef *TableTypeDefinition + TableVar string + Token token.Token + func (af *AlterFunctionStatement) String() string + func (af *AlterFunctionStatement) TokenLiteral() string + type AlterIndexStatement struct + Action string + Name *Identifier + Options []string + Table *QualifiedIdentifier + Token token.Token + func (ai *AlterIndexStatement) String() string + func (ai *AlterIndexStatement) TokenLiteral() string + type AlterLoginStatement struct + Disable bool + Enable bool + Name string + OldPassword string + Password string + Token token.Token + func (als *AlterLoginStatement) String() string + func (als *AlterLoginStatement) TokenLiteral() string + type AlterPartitionFunctionStatement struct + Action string + Name string + RangeValue Expression + Token token.Token + func (apf *AlterPartitionFunctionStatement) String() string + func (apf *AlterPartitionFunctionStatement) TokenLiteral() string + type AlterPartitionSchemeStatement struct + Name string + NextUsed string + Token token.Token + func (aps *AlterPartitionSchemeStatement) String() string + func (aps *AlterPartitionSchemeStatement) TokenLiteral() string + type AlterProcedureStatement struct + Body *BeginEndBlock + Name *QualifiedIdentifier + Options []string + Parameters []*ParameterDef + Token token.Token + func (ap *AlterProcedureStatement) String() string + func (ap *AlterProcedureStatement) TokenLiteral() string + type AlterQueueStatement struct + Name *QualifiedIdentifier + Options map[string]string + Token token.Token + func (aq *AlterQueueStatement) String() string + func (aq *AlterQueueStatement) TokenLiteral() string + type AlterResourceGovernorStatement struct + Action string + ClassifierFunction string + Token token.Token + func (arg *AlterResourceGovernorStatement) String() string + func (arg *AlterResourceGovernorStatement) TokenLiteral() string + type AlterResourcePoolStatement struct + Name string + Options map[string]string + Token token.Token + func (arp *AlterResourcePoolStatement) String() string + func (arp *AlterResourcePoolStatement) TokenLiteral() string + type AlterRoleStatement struct + AddMember string + DropMember string + Name string + NewName string + Token token.Token + func (ars *AlterRoleStatement) String() string + func (ars *AlterRoleStatement) TokenLiteral() string + type AlterSequenceStatement struct + Cache Expression + Cycle bool + IncrementBy Expression + MaxValue Expression + MinValue Expression + Name *QualifiedIdentifier + NoCache bool + NoCycle bool + NoMaxValue bool + NoMinValue bool + RestartWith Expression + Token token.Token + func (as *AlterSequenceStatement) String() string + func (as *AlterSequenceStatement) TokenLiteral() string + type AlterServerRoleStatement struct + AddMember string + DropMember string + Name string + NewName string + Token token.Token + func (a *AlterServerRoleStatement) String() string + func (a *AlterServerRoleStatement) TokenLiteral() string + type AlterTableAction struct + AllConstraints bool + AllTriggers bool + Column *ColumnDefinition + ColumnName *Identifier + Columns []*ColumnDefinition + Constraint *TableConstraint + ConstraintName string + NewColumnName *Identifier + NewDataType *DataType + Options map[string]string + RawOptions string + TriggerName string + Type AlterActionType + func (aa *AlterTableAction) String() string + type AlterTableStatement struct + Actions []*AlterTableAction + Table *QualifiedIdentifier + Token token.Token + WithCheck bool + WithNoCheck bool + func (at *AlterTableStatement) String() string + func (at *AlterTableStatement) TokenLiteral() string + type AlterTriggerStatement struct + Body *BeginEndBlock + Events []string + Name *QualifiedIdentifier + Table *QualifiedIdentifier + Timing TriggerTiming + Token token.Token + func (at *AlterTriggerStatement) String() string + func (at *AlterTriggerStatement) TokenLiteral() string + type AlterUserStatement struct + DefaultSchema string + Login string + Name string + NewName string + Token token.Token + func (aus *AlterUserStatement) String() string + func (aus *AlterUserStatement) TokenLiteral() string + type AlterViewStatement struct + AsSelect Statement + Columns []*Identifier + Name *QualifiedIdentifier + Options []string + Token token.Token + func (av *AlterViewStatement) String() string + func (av *AlterViewStatement) TokenLiteral() string + type AlterWorkloadGroupStatement struct + Name string + Options map[string]string + PoolName string + Token token.Token + func (awg *AlterWorkloadGroupStatement) String() string + func (awg *AlterWorkloadGroupStatement) TokenLiteral() string + type AtTimeZoneExpression struct + Expr Expression + TimeZone Expression + Token token.Token + func (atz *AtTimeZoneExpression) String() string + func (atz *AtTimeZoneExpression) TokenLiteral() string + type AvailabilityReplica struct + AvailabilityMode string + EndpointURL string + FailoverMode string + Options map[string]string + ServerName string + func (ar *AvailabilityReplica) String() string + type BackupLocation struct + Path string + Type string + type BackupOption struct + Name string + Value string + type BackupStatement struct + BackupType string + DatabaseName string + ToLocations []*BackupLocation + Token token.Token + WithOptions []*BackupOption + func (bs *BackupStatement) String() string + func (bs *BackupStatement) TokenLiteral() string + type BeginDialogStatement struct + DialogHandle string + FromService string + OnContract string + ToService string + Token token.Token + WithOptions map[string]string + func (bd *BeginDialogStatement) String() string + func (bd *BeginDialogStatement) TokenLiteral() string + type BeginEndBlock struct + Statements []Statement + Token token.Token + func (be *BeginEndBlock) String() string + func (be *BeginEndBlock) TokenLiteral() string + type BeginTransactionStatement struct + Mark string + Name *Identifier + Token token.Token + func (bt *BeginTransactionStatement) String() string + func (bt *BeginTransactionStatement) TokenLiteral() string + type BetweenExpression struct + Expr Expression + High Expression + Low Expression + Not bool + Token token.Token + func (be *BetweenExpression) String() string + func (be *BetweenExpression) TokenLiteral() string + type BinaryLiteral struct + Token token.Token + Value string + func (bl *BinaryLiteral) String() string + func (bl *BinaryLiteral) TokenLiteral() string + type BreakStatement struct + Token token.Token + func (bs *BreakStatement) String() string + func (bs *BreakStatement) TokenLiteral() string + type BulkInsertStatement struct + DataFile string + Options map[string]string + Table *QualifiedIdentifier + Token token.Token + func (bi *BulkInsertStatement) String() string + func (bi *BulkInsertStatement) TokenLiteral() string + type CTEDef struct + Columns []*Identifier + Name *Identifier + Query *SelectStatement + type CaseExpression struct + ElseClause Expression + Operand Expression + Token token.Token + WhenClauses []*WhenClause + func (ce *CaseExpression) String() string + func (ce *CaseExpression) TokenLiteral() string + type CastExpression struct + Expression Expression + IsTry bool + TargetType *DataType + Token token.Token + func (ce *CastExpression) String() string + func (ce *CastExpression) TokenLiteral() string + type CloseCursorStatement struct + CursorName *Identifier + Token token.Token + func (cc *CloseCursorStatement) String() string + func (cc *CloseCursorStatement) TokenLiteral() string + type CloseSymmetricKeyStatement struct + All bool + KeyName string + Token token.Token + func (csk *CloseSymmetricKeyStatement) String() string + func (csk *CloseSymmetricKeyStatement) TokenLiteral() string + type CollateExpression struct + Collation string + Expr Expression + Token token.Token + func (ce *CollateExpression) String() string + func (ce *CollateExpression) TokenLiteral() string + type ColumnConstraint struct + CheckExpression Expression + IsClustered *bool + IsPrimaryKey bool + Name string + OnDelete string + OnUpdate string + ReferencesColumns []*Identifier + ReferencesTable *QualifiedIdentifier + Type ConstraintType + func (cc *ColumnConstraint) String() string + type ColumnDefinition struct + Collation string + Computed Expression + Constraints []*ColumnConstraint + DataType *DataType + Default Expression + GeneratedAlways string + Identity *IdentitySpec + InlineIndex *InlineIndex + IsColumnSet bool + IsPersisted bool + IsRowGuidCol bool + IsSparse bool + Name *Identifier + Nullable *bool + Token token.Token + func (cd *ColumnDefinition) String() string + type CommitTransactionStatement struct + Name *Identifier + Token token.Token + func (ct *CommitTransactionStatement) String() string + func (ct *CommitTransactionStatement) TokenLiteral() string + type ConstraintType int + const ConstraintCheck + const ConstraintDefault + const ConstraintForeignKey + const ConstraintIndex + const ConstraintPeriod + const ConstraintPrimaryKey + const ConstraintUnique + type ContainsExpression struct + Columns []string + Language string + SearchTerm Expression + Token token.Token + func (ce *ContainsExpression) String() string + func (ce *ContainsExpression) TokenLiteral() string + type ContainsTableExpression struct + Columns []string + Language string + SearchTerm Expression + TableName string + Token token.Token + TopN Expression + func (ct *ContainsTableExpression) String() string + func (ct *ContainsTableExpression) TokenLiteral() string + type ContinueStatement struct + Token token.Token + func (cs *ContinueStatement) String() string + func (cs *ContinueStatement) TokenLiteral() string + type ContractMessage struct + MessageType string + SentBy string + func (cm *ContractMessage) String() string + type ConvertExpression struct + Expression Expression + IsTry bool + Style Expression + TargetType *DataType + Token token.Token + func (ce *ConvertExpression) String() string + func (ce *ConvertExpression) TokenLiteral() string + type CreateApplicationRoleStatement struct + Name string + Password string + Schema string + Token token.Token + func (c *CreateApplicationRoleStatement) String() string + func (c *CreateApplicationRoleStatement) TokenLiteral() string + type CreateAssemblyStatement struct + FromBinary string + FromPath string + Name string + PermissionSet string + Token token.Token + func (ca *CreateAssemblyStatement) String() string + func (ca *CreateAssemblyStatement) TokenLiteral() string + type CreateAsymmetricKeyStatement struct + Algorithm string + EncryptByPwd string + FromAssembly string + FromFile string + Name string + Token token.Token + func (cak *CreateAsymmetricKeyStatement) String() string + func (cak *CreateAsymmetricKeyStatement) TokenLiteral() string + type CreateAvailabilityGroupStatement struct + Databases []string + Name string + Replicas []*AvailabilityReplica + Token token.Token + func (cag *CreateAvailabilityGroupStatement) String() string + func (cag *CreateAvailabilityGroupStatement) TokenLiteral() string + type CreateCertificateStatement struct + DecryptByPwd string + EncryptByPwd string + FromFile string + Name string + Subject string + Token token.Token + func (cc *CreateCertificateStatement) String() string + func (cc *CreateCertificateStatement) TokenLiteral() string + type CreateContractStatement struct + Authorization string + Messages []*ContractMessage + Name string + Token token.Token + func (cc *CreateContractStatement) String() string + func (cc *CreateContractStatement) TokenLiteral() string + type CreateCredentialStatement struct + Identity string + Name string + Secret string + Token token.Token + func (c *CreateCredentialStatement) String() string + func (c *CreateCredentialStatement) TokenLiteral() string + type CreateDatabaseScopedCredentialStatement struct + Identity string + Name string + Secret string + Token token.Token + func (c *CreateDatabaseScopedCredentialStatement) String() string + func (c *CreateDatabaseScopedCredentialStatement) TokenLiteral() string + type CreateDefaultStatement struct + Name *QualifiedIdentifier + Token token.Token + Value Expression + func (cd *CreateDefaultStatement) String() string + func (cd *CreateDefaultStatement) TokenLiteral() string + type CreateFulltextCatalogStatement struct + AccentOn *bool + AsDefault bool + Authorization string + InPath string + Name string + OnFilegroup string + Token token.Token + func (cfc *CreateFulltextCatalogStatement) String() string + func (cfc *CreateFulltextCatalogStatement) TokenLiteral() string + type CreateFulltextIndexStatement struct + Columns []*FulltextColumn + KeyIndex string + OnCatalog string + TableName *QualifiedIdentifier + Token token.Token + WithOptions []string + func (cfi *CreateFulltextIndexStatement) String() string + func (cfi *CreateFulltextIndexStatement) TokenLiteral() string + type CreateFunctionStatement struct + AsReturn Expression + Body *BeginEndBlock + Name *QualifiedIdentifier + Options []string + Parameters []*ParameterDef + ReturnType *DataType + ReturnsTable bool + TableDef *TableTypeDefinition + TableVar string + Token token.Token + func (cf *CreateFunctionStatement) String() string + func (cf *CreateFunctionStatement) TokenLiteral() string + type CreateIndexStatement struct + Columns []*IndexColumn + Filegroup *Identifier + IncludeColumns []*Identifier + IsClustered *bool + IsUnique bool + Name *Identifier + Options []string + Table *QualifiedIdentifier + Token token.Token + Where Expression + func (ci *CreateIndexStatement) String() string + func (ci *CreateIndexStatement) TokenLiteral() string + type CreateLoginStatement struct + CheckExpiry *bool + CheckPolicy *bool + DefaultDB string + DefaultLang string + FromWindows bool + Name string + Password string + Token token.Token + func (cls *CreateLoginStatement) String() string + func (cls *CreateLoginStatement) TokenLiteral() string + type CreateMasterKeyStatement struct + Password string + Token token.Token + func (cmk *CreateMasterKeyStatement) String() string + func (cmk *CreateMasterKeyStatement) TokenLiteral() string + type CreateMessageTypeStatement struct + Authorization string + Name string + Token token.Token + Validation string + func (cmt *CreateMessageTypeStatement) String() string + func (cmt *CreateMessageTypeStatement) TokenLiteral() string + type CreatePartitionFunctionStatement struct + BoundaryValues []Expression + InputType *DataType + Name string + RangeType string + Token token.Token + func (cpf *CreatePartitionFunctionStatement) String() string + func (cpf *CreatePartitionFunctionStatement) TokenLiteral() string + type CreatePartitionSchemeStatement struct + AllTo string + FileGroups []string + FunctionName string + Name string + Token token.Token + func (cps *CreatePartitionSchemeStatement) String() string + func (cps *CreatePartitionSchemeStatement) TokenLiteral() string + type CreateProcedureStatement struct + Body *BeginEndBlock + Name *QualifiedIdentifier + Options []string + Parameters []*ParameterDef + Token token.Token + func (cp *CreateProcedureStatement) String() string + func (cp *CreateProcedureStatement) TokenLiteral() string + type CreateQueueStatement struct + Name *QualifiedIdentifier + OnFilegroup string + Options map[string]string + Token token.Token + func (cq *CreateQueueStatement) String() string + func (cq *CreateQueueStatement) TokenLiteral() string + type CreateResourcePoolStatement struct + Name string + Options map[string]string + Token token.Token + func (crp *CreateResourcePoolStatement) String() string + func (crp *CreateResourcePoolStatement) TokenLiteral() string + type CreateRoleStatement struct + Authorization string + Name string + Token token.Token + func (crs *CreateRoleStatement) String() string + func (crs *CreateRoleStatement) TokenLiteral() string + type CreateRuleStatement struct + Condition Expression + Name *QualifiedIdentifier + Token token.Token + func (cr *CreateRuleStatement) String() string + func (cr *CreateRuleStatement) TokenLiteral() string + type CreateSchemaStatement struct + Authorization string + Name string + Token token.Token + func (css *CreateSchemaStatement) String() string + func (css *CreateSchemaStatement) TokenLiteral() string + type CreateSequenceStatement struct + Cache Expression + Cycle bool + DataType *DataType + IncrementBy Expression + MaxValue Expression + MinValue Expression + Name *QualifiedIdentifier + NoCache bool + NoCycle bool + NoMaxValue bool + NoMinValue bool + StartWith Expression + Token token.Token + func (cs *CreateSequenceStatement) String() string + func (cs *CreateSequenceStatement) TokenLiteral() string + type CreateServerRoleStatement struct + Authorization string + Name string + Token token.Token + func (c *CreateServerRoleStatement) String() string + func (c *CreateServerRoleStatement) TokenLiteral() string + type CreateServiceStatement struct + Authorization string + Contracts []string + Name string + OnQueue string + Token token.Token + func (cs *CreateServiceStatement) String() string + func (cs *CreateServiceStatement) TokenLiteral() string + type CreateStatisticsStatement struct + Columns []*Identifier + Name string + Table *QualifiedIdentifier + Token token.Token + WithOptions []string + func (cs *CreateStatisticsStatement) String() string + func (cs *CreateStatisticsStatement) TokenLiteral() string + type CreateSymmetricKeyStatement struct + Algorithm string + EncryptByCert string + EncryptByKey string + EncryptByPwd string + Name string + Token token.Token + func (csk *CreateSymmetricKeyStatement) String() string + func (csk *CreateSymmetricKeyStatement) TokenLiteral() string + type CreateSynonymStatement struct + Name *QualifiedIdentifier + Target *QualifiedIdentifier + Token token.Token + func (cs *CreateSynonymStatement) String() string + func (cs *CreateSynonymStatement) TokenLiteral() string + type CreateTableStatement struct + AsSelect *SelectStatement + Columns []*ColumnDefinition + Constraints []*TableConstraint + FileGroup string + IsTemporary bool + Name *QualifiedIdentifier + TextImageOn string + Token token.Token + func (ct *CreateTableStatement) String() string + func (ct *CreateTableStatement) TokenLiteral() string + type CreateTriggerStatement struct + Body *BeginEndBlock + Events []string + Name *QualifiedIdentifier + NotForReplication bool + OnAllServer bool + OnDatabase bool + Options []string + Table *QualifiedIdentifier + Timing TriggerTiming + Token token.Token + func (ct *CreateTriggerStatement) String() string + func (ct *CreateTriggerStatement) TokenLiteral() string + type CreateTypeStatement struct + BaseType *DataType + IsTableType bool + Name *QualifiedIdentifier + Nullable *bool + TableDef *TableTypeDefinition + Token token.Token + func (ct *CreateTypeStatement) String() string + func (ct *CreateTypeStatement) TokenLiteral() string + type CreateUserStatement struct + DefaultSchema string + ForLogin string + Name string + Token token.Token + WithoutLogin bool + func (cus *CreateUserStatement) String() string + func (cus *CreateUserStatement) TokenLiteral() string + type CreateViewStatement struct + AsSelect Statement + CheckOption bool + Columns []*Identifier + Name *QualifiedIdentifier + Options []string + Token token.Token + func (cv *CreateViewStatement) String() string + func (cv *CreateViewStatement) TokenLiteral() string + type CreateWorkloadGroupStatement struct + ExternalPoolName string + Name string + Options map[string]string + PoolName string + Token token.Token + func (cwg *CreateWorkloadGroupStatement) String() string + func (cwg *CreateWorkloadGroupStatement) TokenLiteral() string + type CreateXmlIndexStatement struct + Column *Identifier + IsPrimary bool + Name *Identifier + Table *QualifiedIdentifier + Token token.Token + func (xi *CreateXmlIndexStatement) String() string + func (xi *CreateXmlIndexStatement) TokenLiteral() string + type CreateXmlSchemaCollectionStatement struct + Name *QualifiedIdentifier + SchemaData string + Token token.Token + func (cs *CreateXmlSchemaCollectionStatement) String() string + func (cs *CreateXmlSchemaCollectionStatement) TokenLiteral() string + type CubeExpression struct + Columns []Expression + Token token.Token + func (ce *CubeExpression) String() string + func (ce *CubeExpression) TokenLiteral() string + type CursorExpression struct + ForSelect *SelectStatement + Options *CursorOptions + Token token.Token + func (ce *CursorExpression) String() string + func (ce *CursorExpression) TokenLiteral() string + type CursorOptions struct + Dynamic bool + FastForward bool + ForwardOnly bool + Global bool + Keyset bool + Local bool + Optimistic bool + ReadOnly bool + Scroll bool + ScrollLocks bool + Static bool + TypeWarning bool + func (co *CursorOptions) String() string + type DataType struct + Length *int + Max bool + Name string + Precision *int + Scale *int + XmlSchema string + func (dt *DataType) String() string + type DbccStatement struct + Arguments []Expression + Command string + Token token.Token + WithOptions []string + func (ds *DbccStatement) String() string + func (ds *DbccStatement) TokenLiteral() string + type DeallocateCursorStatement struct + CursorName *Identifier + Token token.Token + func (dc *DeallocateCursorStatement) String() string + func (dc *DeallocateCursorStatement) TokenLiteral() string + type DeclareCursorStatement struct + ForSelect *SelectStatement + ForUpdateColumns []string + Name *Identifier + Options *CursorOptions + Token token.Token + func (dc *DeclareCursorStatement) String() string + func (dc *DeclareCursorStatement) TokenLiteral() string + type DeclareStatement struct + Token token.Token + Variables []*VariableDef + func (ds *DeclareStatement) String() string + func (ds *DeclareStatement) TokenLiteral() string + type DeleteStatement struct + Alias *Identifier + CurrentOfCursor *Identifier + From *FromClause + Hints []string + Output *OutputClause + Table *QualifiedIdentifier + TargetFunc *FunctionCall + Token token.Token + Top *TopClause + Where Expression + func (ds *DeleteStatement) String() string + func (ds *DeleteStatement) TokenLiteral() string + type DenyStatement struct + Cascade bool + Columns []string + OnObject *QualifiedIdentifier + OnType string + Permissions []string + ToPrincipals []string + Token token.Token + func (ds *DenyStatement) String() string + func (ds *DenyStatement) TokenLiteral() string + type DerivedTable struct + Alias *Identifier + ColumnAliases []*Identifier + Subquery *SelectStatement + Token token.Token + func (dt *DerivedTable) String() string + func (dt *DerivedTable) TokenLiteral() string + type DmlDerivedTable struct + Alias *Identifier + ColumnAliases []*Identifier + Statement Statement + Token token.Token + func (ddt *DmlDerivedTable) String() string + func (ddt *DmlDerivedTable) TokenLiteral() string + type DropAvailabilityGroupStatement struct + Name string + Token token.Token + func (dag *DropAvailabilityGroupStatement) String() string + func (dag *DropAvailabilityGroupStatement) TokenLiteral() string + type DropFulltextCatalogStatement struct + Name string + Token token.Token + func (dfc *DropFulltextCatalogStatement) String() string + func (dfc *DropFulltextCatalogStatement) TokenLiteral() string + type DropFulltextIndexStatement struct + TableName *QualifiedIdentifier + Token token.Token + func (dfi *DropFulltextIndexStatement) String() string + func (dfi *DropFulltextIndexStatement) TokenLiteral() string + type DropIndexStatement struct + IfExists bool + Name *Identifier + Table *QualifiedIdentifier + Token token.Token + func (di *DropIndexStatement) String() string + func (di *DropIndexStatement) TokenLiteral() string + type DropObjectStatement struct + IfExists bool + IndexName *Identifier + Names []*QualifiedIdentifier + ObjectType string + OnAllServer bool + OnDatabase bool + TableName *QualifiedIdentifier + Token token.Token + func (do *DropObjectStatement) String() string + func (do *DropObjectStatement) TokenLiteral() string + type DropResourcePoolStatement struct + Name string + Token token.Token + func (drp *DropResourcePoolStatement) String() string + func (drp *DropResourcePoolStatement) TokenLiteral() string + type DropSequenceStatement struct + IfExists bool + Name *QualifiedIdentifier + Token token.Token + func (ds *DropSequenceStatement) String() string + func (ds *DropSequenceStatement) TokenLiteral() string + type DropStatisticsStatement struct + Names []string + Token token.Token + func (ds *DropStatisticsStatement) String() string + func (ds *DropStatisticsStatement) TokenLiteral() string + type DropSynonymStatement struct + IfExists bool + Name *QualifiedIdentifier + Token token.Token + func (ds *DropSynonymStatement) String() string + func (ds *DropSynonymStatement) TokenLiteral() string + type DropTableStatement struct + IfExists bool + Tables []*QualifiedIdentifier + Token token.Token + func (dt *DropTableStatement) String() string + func (dt *DropTableStatement) TokenLiteral() string + type DropWorkloadGroupStatement struct + Name string + Token token.Token + func (dwg *DropWorkloadGroupStatement) String() string + func (dwg *DropWorkloadGroupStatement) TokenLiteral() string + type EnableDisableTriggerStatement struct + AllTriggers bool + Enable bool + OnAllServer bool + OnDatabase bool + TableName *QualifiedIdentifier + Token token.Token + TriggerName *Identifier + func (s *EnableDisableTriggerStatement) String() string + func (s *EnableDisableTriggerStatement) TokenLiteral() string + type EndConversationStatement struct + ConversationHandle string + ErrorDescription Expression + Token token.Token + WithCleanup bool + WithError Expression + func (ec *EndConversationStatement) String() string + func (ec *EndConversationStatement) TokenLiteral() string + type ExecParameter struct + Name string + Output bool + Value Expression + type ExecStatement struct + AtServer *Identifier + DynamicSQL Expression + Parameters []*ExecParameter + Procedure *QualifiedIdentifier + Recompile bool + ResultSets []*ResultSetDefinition + ResultSetsMode string + ReturnVariable *Identifier + Token token.Token + func (es *ExecStatement) String() string + func (es *ExecStatement) TokenLiteral() string + type ExecuteAsStatement struct + CookieVar string + Token token.Token + Type string + UserName string + func (ea *ExecuteAsStatement) String() string + func (ea *ExecuteAsStatement) TokenLiteral() string + type ExistsExpression struct + Subquery *SelectStatement + Token token.Token + func (ee *ExistsExpression) String() string + func (ee *ExistsExpression) TokenLiteral() string + type Expression interface + type ExpressionStatement struct + Expression Expression + Token token.Token + func (es *ExpressionStatement) String() string + func (es *ExpressionStatement) TokenLiteral() string + type FetchStatement struct + CursorName *Identifier + Direction string + IntoVars []*Variable + Offset Expression + Token token.Token + func (fs *FetchStatement) String() string + func (fs *FetchStatement) TokenLiteral() string + type FloatLiteral struct + Token token.Token + Value float64 + func (fl *FloatLiteral) String() string + func (fl *FloatLiteral) TokenLiteral() string + type ForClause struct + ElementName string + Elements bool + ForType string + IncludeNullValues bool + Mode string + Root string + Token token.Token + Type bool + WithoutArrayWrapper bool + func (fc *ForClause) String() string + type FrameBound struct + Offset Expression + Type string + func (fb *FrameBound) String() string + type FreetextExpression struct + Columns []string + Language string + SearchTerm Expression + Token token.Token + func (fe *FreetextExpression) String() string + func (fe *FreetextExpression) TokenLiteral() string + type FreetextTableExpression struct + Columns []string + Language string + SearchTerm Expression + TableName string + Token token.Token + TopN Expression + func (ft *FreetextTableExpression) String() string + func (ft *FreetextTableExpression) TokenLiteral() string + type FromClause struct + Tables []TableReference + Token token.Token + func (fc *FromClause) String() string + type FulltextColumn struct + Language string + Name string + StatisticalSemantics bool + TypeColumn string + func (fic *FulltextColumn) String() string + type FunctionCall struct + Arguments []Expression + Function Expression + Over *OverClause + Token token.Token + WithinGroup []*OrderByItem + func (fc *FunctionCall) String() string + func (fc *FunctionCall) TokenLiteral() string + type FunctionType int + const FunctionInlineTable + const FunctionMultiStatementTable + const FunctionScalar + type GetConversationGroupStatement struct + FromQueue *QualifiedIdentifier + GroupId string + Timeout Expression + Token token.Token + func (gcg *GetConversationGroupStatement) String() string + func (gcg *GetConversationGroupStatement) TokenLiteral() string + type GoStatement struct + Count *int + Token token.Token + func (gs *GoStatement) String() string + func (gs *GoStatement) TokenLiteral() string + type GotoStatement struct + Label *Identifier + Token token.Token + func (gs *GotoStatement) String() string + func (gs *GotoStatement) TokenLiteral() string + type GrantStatement struct + Columns []string + OnObject *QualifiedIdentifier + OnType string + Permissions []string + ToPrincipals []string + Token token.Token + WithGrantOption bool + func (gs *GrantStatement) String() string + func (gs *GrantStatement) TokenLiteral() string + type GroupingSetsExpression struct + Sets []Expression + Token token.Token + func (gse *GroupingSetsExpression) String() string + func (gse *GroupingSetsExpression) TokenLiteral() string + type Identifier struct + Token token.Token + Value string + func (i *Identifier) String() string + func (i *Identifier) TokenLiteral() string + type IdentitySpec struct + Increment int64 + Seed int64 + func (is *IdentitySpec) String() string + type IfStatement struct + Alternative Statement + Condition Expression + Consequence Statement + Token token.Token + func (is *IfStatement) String() string + func (is *IfStatement) TokenLiteral() string + type InExpression struct + Expr Expression + Not bool + Subquery *SelectStatement + Token token.Token + Values []Expression + func (ie *InExpression) String() string + func (ie *InExpression) TokenLiteral() string + type IndexColumn struct + Descending bool + Name *Identifier + func (ic *IndexColumn) String() string + type InfixExpression struct + Left Expression + Operator string + Right Expression + Token token.Token + func (ie *InfixExpression) String() string + func (ie *InfixExpression) TokenLiteral() string + type InlineIndex struct + Clustered *bool + Name string + type InsertStatement struct + Columns []*Identifier + DefaultValues bool + Hints []string + Output *OutputClause + Select *SelectStatement + Table *QualifiedIdentifier + Token token.Token + Top Expression + TopPercent bool + Values [][]Expression + func (is *InsertStatement) String() string + func (is *InsertStatement) TokenLiteral() string + type IntegerLiteral struct + Token token.Token + Value int64 + func (il *IntegerLiteral) String() string + func (il *IntegerLiteral) TokenLiteral() string + type IsDistinctFromExpression struct + Left Expression + Not bool + Right Expression + Token token.Token + func (id *IsDistinctFromExpression) String() string + func (id *IsDistinctFromExpression) TokenLiteral() string + type IsNullExpression struct + Expr Expression + Not bool + Token token.Token + func (in *IsNullExpression) String() string + func (in *IsNullExpression) TokenLiteral() string + type JoinClause struct + Condition Expression + Hint string + Left TableReference + Right TableReference + Token token.Token + Type string + func (jc *JoinClause) String() string + func (jc *JoinClause) TokenLiteral() string + type JsonKeyValuePair struct + Key Expression + Token token.Token + Value Expression + func (jkv *JsonKeyValuePair) String() string + func (jkv *JsonKeyValuePair) TokenLiteral() string + type LabelStatement struct + Name *Identifier + Token token.Token + func (ls *LabelStatement) String() string + func (ls *LabelStatement) TokenLiteral() string + type LikeExpression struct + Escape Expression + Expr Expression + Not bool + Pattern Expression + Token token.Token + func (le *LikeExpression) String() string + func (le *LikeExpression) TokenLiteral() string + type MergeActionType int + const MergeActionDelete + const MergeActionInsert + const MergeActionUpdate + type MergeStatement struct + OnCondition Expression + Output *OutputClause + Source TableReference + SourceAlias *Identifier + Target *QualifiedIdentifier + TargetAlias *Identifier + Token token.Token + WhenClauses []*MergeWhenClause + func (ms *MergeStatement) String() string + func (ms *MergeStatement) TokenLiteral() string + type MergeWhenClause struct + Action MergeActionType + Columns []*Identifier + Condition Expression + SetClauses []*SetClause + Type MergeWhenType + Values []Expression + func (mw *MergeWhenClause) String() string + type MergeWhenType int + const MergeWhenMatched + const MergeWhenNotMatchedBySource + const MergeWhenNotMatchedByTarget + type MethodCallExpression struct + Arguments []Expression + MethodName string + Object Expression + Token token.Token + func (mc *MethodCallExpression) String() string + func (mc *MethodCallExpression) TokenLiteral() string + type MoneyLiteral struct + Token token.Token + Value string + func (ml *MoneyLiteral) String() string + func (ml *MoneyLiteral) TokenLiteral() string + type MoveConversationStatement struct + ConversationHandle string + ToGroupId string + Token token.Token + func (mc *MoveConversationStatement) String() string + func (mc *MoveConversationStatement) TokenLiteral() string + type NextValueForExpression struct + Over *OverClause + SequenceName *QualifiedIdentifier + Token token.Token + func (nv *NextValueForExpression) String() string + func (nv *NextValueForExpression) TokenLiteral() string + type Node interface + String func() string + TokenLiteral func() string + type NullLiteral struct + Token token.Token + func (nl *NullLiteral) String() string + func (nl *NullLiteral) TokenLiteral() string + type OpenCursorStatement struct + CursorName *Identifier + Token token.Token + func (oc *OpenCursorStatement) String() string + func (oc *OpenCursorStatement) TokenLiteral() string + type OpenJsonColumn struct + AsJson bool + DataType *DataType + Name string + Path string + func (oc *OpenJsonColumn) String() string + type OpenSymmetricKeyStatement struct + DecryptByCert string + DecryptByKey string + DecryptByPwd string + KeyName string + Token token.Token + func (osk *OpenSymmetricKeyStatement) String() string + func (osk *OpenSymmetricKeyStatement) TokenLiteral() string + type OptimizeForHint struct + Unknown bool + Value Expression + Variable string + type OrderByItem struct + Descending bool + Expression Expression + NullsFirst *bool + func (ob *OrderByItem) String() string + type OutputClause struct + Columns []SelectColumn + Into *QualifiedIdentifier + IntoColumns []*Identifier + IntoVariable *Variable + func (oc *OutputClause) String() string + type OverClause struct + Frame *WindowFrame + OrderBy []*OrderByItem + PartitionBy []Expression + Token token.Token + WindowRef string + func (oc *OverClause) String() string + type ParameterDef struct + DataType *DataType + Default Expression + Name string + Output bool + ReadOnly bool + func (pd *ParameterDef) String() string + type ParenthesizedTableRef struct + Inner TableReference + Token token.Token + func (ptr *ParenthesizedTableRef) String() string + func (ptr *ParenthesizedTableRef) TokenLiteral() string + type ParseExpression struct + Culture Expression + Expression Expression + IsTry bool + TargetType *DataType + Token token.Token + func (pe *ParseExpression) String() string + func (pe *ParseExpression) TokenLiteral() string + type PartitionRange struct + End int + Start int + type PivotTable struct + AggregateFunc string + Alias *Identifier + PivotColumn *Identifier + PivotValues []*Identifier + Source TableReference + Token token.Token + ValueColumn Expression + func (pt *PivotTable) String() string + func (pt *PivotTable) TokenLiteral() string + type PrefixExpression struct + Operator string + Right Expression + Token token.Token + func (pe *PrefixExpression) String() string + func (pe *PrefixExpression) TokenLiteral() string + type PrintStatement struct + Expression Expression + Token token.Token + func (ps *PrintStatement) String() string + func (ps *PrintStatement) TokenLiteral() string + type Program struct + Statements []Statement + func (p *Program) String() string + func (p *Program) TokenLiteral() string + type QualifiedIdentifier struct + Parts []*Identifier + func (q *QualifiedIdentifier) String() string + func (q *QualifiedIdentifier) TokenLiteral() string + type QueryOption struct + Hints []string + Name string + OptimizeFor []*OptimizeForHint + Value Expression + func (qo *QueryOption) String() string + type RaiserrorStatement struct + Args []Expression + Message Expression + Options []string + Severity Expression + State Expression + Token token.Token + func (rs *RaiserrorStatement) String() string + func (rs *RaiserrorStatement) TokenLiteral() string + type ReceiveColumn struct + ColumnName string + Variable string + func (rc *ReceiveColumn) String() string + type ReceiveStatement struct + Columns []*ReceiveColumn + FromQueue *QualifiedIdentifier + Into string + Timeout Expression + Token token.Token + Top Expression + Where Expression + func (rs *ReceiveStatement) String() string + func (rs *ReceiveStatement) TokenLiteral() string + type ReconfigureStatement struct + Token token.Token + WithOverride bool + func (rs *ReconfigureStatement) String() string + func (rs *ReconfigureStatement) TokenLiteral() string + type RestoreStatement struct + DatabaseName string + FromLocations []*BackupLocation + RestoreType string + Token token.Token + WithOptions []*BackupOption + func (rs *RestoreStatement) String() string + func (rs *RestoreStatement) TokenLiteral() string + type ResultSetColumn struct + DataType *DataType + HasNull bool + Name string + Nullable bool + type ResultSetDefinition struct + Columns []*ResultSetColumn + type ReturnStatement struct + Token token.Token + Value Expression + func (rs *ReturnStatement) String() string + func (rs *ReturnStatement) TokenLiteral() string + type RevertStatement struct + Cookie Expression + Token token.Token + func (rs *RevertStatement) String() string + func (rs *RevertStatement) TokenLiteral() string + type RevokeStatement struct + Cascade bool + Columns []string + FromPrincipals []string + GrantOptionFor bool + OnObject *QualifiedIdentifier + OnType string + Permissions []string + Token token.Token + func (rs *RevokeStatement) String() string + func (rs *RevokeStatement) TokenLiteral() string + type RollbackTransactionStatement struct + Name *Identifier + Token token.Token + func (rt *RollbackTransactionStatement) String() string + func (rt *RollbackTransactionStatement) TokenLiteral() string + type RollupExpression struct + Columns []Expression + Token token.Token + func (re *RollupExpression) String() string + func (re *RollupExpression) TokenLiteral() string + type SaveTransactionStatement struct + SavepointName *Identifier + Token token.Token + func (st *SaveTransactionStatement) String() string + func (st *SaveTransactionStatement) TokenLiteral() string + type SelectColumn struct + Alias *Identifier + AllColumns bool + Expression Expression + Variable *Variable + func (sc SelectColumn) String() string + type SelectStatement struct + Columns []SelectColumn + Distinct bool + Fetch Expression + ForClause *ForClause + From *FromClause + GroupBy []Expression + Having Expression + Into *QualifiedIdentifier + IntoFilegroup *Identifier + Offset Expression + Options []*QueryOption + OrderBy []*OrderByItem + Token token.Token + Top *TopClause + Union *UnionClause + Where Expression + WindowDefs []*WindowDefinition + func (ss *SelectStatement) String() string + func (ss *SelectStatement) TokenLiteral() string + type SendOnConversationStatement struct + ConversationHandle string + MessageBody Expression + MessageType string + Token token.Token + func (soc *SendOnConversationStatement) String() string + func (soc *SendOnConversationStatement) TokenLiteral() string + type SetClause struct + Column *QualifiedIdentifier + IsMethodCall bool + MethodArgs []Expression + Operator string + Value Expression + type SetOptionStatement struct + Option string + Table *QualifiedIdentifier + Token token.Token + Value Expression + func (so *SetOptionStatement) String() string + func (so *SetOptionStatement) TokenLiteral() string + type SetStatement struct + OnOff string + Option string + Token token.Token + Value Expression + Variable Expression + func (ss *SetStatement) String() string + func (ss *SetStatement) TokenLiteral() string + type SetTransactionIsolationStatement struct + Level string + Token token.Token + func (si *SetTransactionIsolationStatement) String() string + func (si *SetTransactionIsolationStatement) TokenLiteral() string + type Statement interface + type StaticMethodCall struct + Arguments []Expression + MethodName string + Token token.Token + TypeName string + func (sm *StaticMethodCall) String() string + func (sm *StaticMethodCall) TokenLiteral() string + type StringLiteral struct + Token token.Token + Unicode bool + Value string + func (sl *StringLiteral) String() string + func (sl *StringLiteral) TokenLiteral() string + type SubqueryExpression struct + Subquery *SelectStatement + Token token.Token + func (se *SubqueryExpression) String() string + func (se *SubqueryExpression) TokenLiteral() string + type TableConstraint struct + CheckExpression Expression + Columns []*IndexColumn + DefaultExpression Expression + ForColumn *Identifier + IndexOptions string + IsClustered *bool + Name string + OnDelete string + OnUpdate string + ReferencesColumns []*Identifier + ReferencesTable *QualifiedIdentifier + Token token.Token + Type ConstraintType + func (tc *TableConstraint) String() string + type TableName struct + Alias *Identifier + Hints []string + Name *QualifiedIdentifier + TableSample *TableSampleClause + TemporalClause *TemporalClause + Token token.Token + func (tn *TableName) String() string + func (tn *TableName) TokenLiteral() string + type TableReference interface + type TableSampleClause struct + IsPercent bool + IsRows bool + Seed Expression + System bool + Token token.Token + Value Expression + func (ts *TableSampleClause) String() string + type TableTypeDefinition struct + Columns []*ColumnDefinition + Constraints []*TableConstraint + func (tt *TableTypeDefinition) String() string + type TableValuedFunction struct + Alias *Identifier + Arguments []Expression + ColumnAliases []*Identifier + Function *QualifiedIdentifier + OpenJsonColumns []*OpenJsonColumn + Token token.Token + func (tvf *TableValuedFunction) String() string + func (tvf *TableValuedFunction) TokenLiteral() string + type TemporalClause struct + EndTime Expression + StartTime Expression + Token token.Token + Type string + func (tc *TemporalClause) String() string + type ThrowStatement struct + ErrorNum Expression + Message Expression + State Expression + Token token.Token + func (ts *ThrowStatement) String() string + func (ts *ThrowStatement) TokenLiteral() string + type TopClause struct + Count Expression + Percent bool + WithTies bool + func (tc *TopClause) String() string + type TriggerTiming int + const TriggerAfter + const TriggerFor + const TriggerInsteadOf + type TrimExpression struct + Characters Expression + Expression Expression + Token token.Token + TrimSpec string + func (te *TrimExpression) String() string + func (te *TrimExpression) TokenLiteral() string + type TruncateTableStatement struct + Partitions []PartitionRange + Table *QualifiedIdentifier + Token token.Token + func (tt *TruncateTableStatement) String() string + func (tt *TruncateTableStatement) TokenLiteral() string + type TryCatchStatement struct + CatchBlock *BeginEndBlock + Token token.Token + TryBlock *BeginEndBlock + func (tc *TryCatchStatement) String() string + func (tc *TryCatchStatement) TokenLiteral() string + type TupleExpression struct + Elements []Expression + Token token.Token + func (te *TupleExpression) String() string + func (te *TupleExpression) TokenLiteral() string + type UnionClause struct + All bool + Right *SelectStatement + Type string + func (uc *UnionClause) String() string + type UnpivotTable struct + Alias *Identifier + PivotColumn *Identifier + Source TableReference + SourceColumns []*Identifier + Token token.Token + ValueColumn *Identifier + func (ut *UnpivotTable) String() string + func (ut *UnpivotTable) TokenLiteral() string + type UpdateStatement struct + Alias *Identifier + CurrentOfCursor *Identifier + From *FromClause + Hints []string + Output *OutputClause + SetClauses []*SetClause + Table *QualifiedIdentifier + TargetFunc *FunctionCall + Token token.Token + Top *TopClause + Where Expression + func (us *UpdateStatement) String() string + func (us *UpdateStatement) TokenLiteral() string + type UpdateStatisticsStatement struct + StatsName string + Table *QualifiedIdentifier + Token token.Token + WithOptions []string + func (us *UpdateStatisticsStatement) String() string + func (us *UpdateStatisticsStatement) TokenLiteral() string + type UseStatement struct + Database *Identifier + Token token.Token + func (us *UseStatement) String() string + func (us *UseStatement) TokenLiteral() string + type ValuesTable struct + Alias *Identifier + Columns []*Identifier + Rows [][]Expression + Token token.Token + func (vt *ValuesTable) String() string + func (vt *ValuesTable) TokenLiteral() string + type Variable struct + Name string + Token token.Token + func (v *Variable) String() string + func (v *Variable) TokenLiteral() string + type VariableDef struct + DataType *DataType + Name string + TableType *TableTypeDefinition + Value Expression + type WaitforStatement struct + Duration Expression + Token token.Token + Type string + func (ws *WaitforStatement) String() string + func (ws *WaitforStatement) TokenLiteral() string + type WhenClause struct + Condition Expression + Result Expression + type WhileStatement struct + Body Statement + Condition Expression + Token token.Token + func (ws *WhileStatement) String() string + func (ws *WhileStatement) TokenLiteral() string + type WindowDefinition struct + Name string + Spec *OverClause + type WindowFrame struct + End *FrameBound + Start *FrameBound + Type string + func (wf *WindowFrame) String() string + type WithStatement struct + CTEs []*CTEDef + Query Statement + Token token.Token + func (ws *WithStatement) String() string + func (ws *WithStatement) TokenLiteral() string + type WithXmlnamespacesStatement struct + Namespaces []*XmlNamespaceDef + Query Statement + Token token.Token + func (w *WithXmlnamespacesStatement) String() string + func (w *WithXmlnamespacesStatement) TokenLiteral() string + type XmlNamespaceDef struct + IsDefault bool + Prefix string + URI string + func (x *XmlNamespaceDef) String() string