Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Regression: Align Column Aliases

forums forums SQLyog SQLyog: Bugs / Feature Requests Regression: Align Column Aliases

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #13559
      LCValentine
      Member

      As recently as version 10, the SQL Formatter would align column aliases (up to maybe 20 chars) within a SELECT.

      I now have version 12, and I no longer see this feature.

      Is it hidden somewhere in the preferences?

       

      Version 10 format:

      SELECT

        e.eid              AS enterprise_id,

        cci.SegmentID      AS segment_id,

        340                AS transaction_type,

        cci.AssignmentDate AS transaction_time,

        cci.OrderID        AS order_id,

        1                  AS units,

        ni.TelephoneNumber AS telnum,

        90603              AS product_id

      FROM table1 e

        JOIN table2 cci

          ON e.eid = cci.CustomerID

            AND cci.DeletionDate = 0

        JOIN table3 ni

          ON cci.TnID = ni.TnID

      WHERE e.partnerID IN( 12345, 23456 );

       

      Version 12 format (regression):

      SELECT

        e.eid AS enterprise_id,

        cci.SegmentID AS segment_id,

        340 AS transaction_type,

        cci.AssignmentDate AS transaction_time,

        cci.OrderID AS order_id,

        1 AS units,

        ni.TelephoneNumber AS telnum,

        90603 AS product_id

      FROM

        table1 e

        JOIN table2 cci

          ON e.eid = cci.CustomerID

          AND cci.DeletionDate = 0

        JOIN table3 ni

          ON cci.TnID = ni.TnID

      WHERE e.partnerID IN (1001041, 1008725);

       

    • #35770
      Sibin A S
      Moderator

      Hi,

       

      We had removed this option from SQLyog v8.7 as there were issues with that implementation. The latest version does not include that option and is a completely rewritten to include all types of SQL statements.

       

      You may also refer our blog for the same under the version 8.7, here >> http://sqlyogkb.webyog.com/article/348-version-history-2010

       

      Regards,

      Sibin

Viewing 1 reply thread
  • You must be logged in to reply to this topic.