/// <summary>
 /// Visits the given <paramref name="alterColumnNode"/>.
 /// </summary>
 /// <param name="alterColumnNode"></param>
 public override void Visit(IAlterColumnNode alterColumnNode)
 {
     Visit(alterColumnNode.ChildNodes);
 }
        /// <summary>
        ///  Visits the given <paramref name="alterColumnNode" />.
        /// </summary>
        /// <param name="alterColumnNode"></param>
        public override void Visit(IAlterColumnNode alterColumnNode)
        {
            textWriter.Write("alter column {0}", GetIdentifier(alterColumnNode.Name));

            WriteProperties(alterColumnNode);
            VisitBlock(alterColumnNode);
        }
 protected override void AlterTableAlterColumn(IAlterTableNode alterTableNode, IAlterColumnNode alterColumnNode)
 {
 }
        private void AlterColumn(IColumnDefinition definition, IAlterColumnNode alterColumnNode)
        {
            if(alterColumnNode.Length.HasValue)
                definition.Length = alterColumnNode.Length;

            if(alterColumnNode.Nullable.HasValue)
                definition.Nullable = alterColumnNode.Nullable;
        }
 protected virtual void AlterTableAlterColumn(IAlterTableNode alterTableNode, IAlterColumnNode alterColumnNode)
 {
     TextWriter.WriteLine("alter table {0} alter column {1};",
                          Platform.Dialect.EscapeIdentifier(alterTableNode.Name),
                          GetAlterColumnDefinition(alterColumnNode));
 }